On Sun, 2006-06-25 at 19:44 +0200, Mike Galbraith wrote: > On Sun, 2006-06-25 at 16:24 +0200, Björn Steinbrink wrote: > > > Still no idea why your "fix" works, but the following patch also fixes > > the problem and is at least a little more like the RightThing. > > Yeah. I don't know about you, but I fully intend to blatantly ignore > that 'why' ;-) the why is relatively easy ;) since the "is a softirq executing" bit is on the stack, and each context (user, soft and hard irq) has their own stack, it's not automatic that the hardirq stack gets the softirq-executing flag... which your patch fixes. NMI's and apic irqs generally don't go via the normal irq path and thus don't do a stack switch... so they don't lose the bit (for accounting purposes) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] i386: Fix softirq accounting with 4K stacks
- From: Björn Steinbrink <[email protected]>
- Re: [PATCH] i386: Fix softirq accounting with 4K stacks
- References:
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Björn Steinbrink <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Björn Steinbrink <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Björn Steinbrink <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- From: Björn Steinbrink <[email protected]>
- [PATCH] i386: Fix softirq accounting with 4K stacks
- From: Björn Steinbrink <[email protected]>
- Re: [PATCH] i386: Fix softirq accounting with 4K stacks
- From: Mike Galbraith <[email protected]>
- Re: Measuring tools - top and interrupts
- Prev by Date: [PATCH] Kconfig for radio cards to allow VIDEO_V4L1_COMPAT
- Next by Date: Re: 2.6.17-ck1: fcache problem...
- Previous by thread: Re: [PATCH] i386: Fix softirq accounting with 4K stacks
- Next by thread: Re: [PATCH] i386: Fix softirq accounting with 4K stacks
- Index(es):