[lkml]   [2004]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/3] Separate IRQ-stacks from 4K-stacks option
On Fri, Sep 10, 2004 at 05:34:21PM +0200, Arjan van de Ven wrote:
> disabling is actually not a bad idea; hard irq handlers run for a very short

you mean hard irq handlers "should run" for a very short time. There can
be slow hardware that needs a long time, and fast hardware that needs a
short time, and in turn it makes perfect sense to allow nesting to give
low latency to the "fast" onces, like it has always happened so far (not
only in linux AFIK). Disabling nesting completely sounds a very bad
idea to me, when "limiting nesting" can be achieved easily as confirmed
by Alan too.

> time, but when they nest you effectively have like a semi context switch in
> the middle of the work so performance suffers...

It's not nearly a semi context switch, it's like the timer irq that runs
on top of userspace, not nearly the cost of a context switch (no time
wasted calling the scheduler or the softirqs either for obvious reasons).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:06    [W:0.142 / U:2.364 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site