Re: [RFC][PATCH] irq_work
From: Andi Kleen
Date: Thu Jun 24 2010 - 07:55:34 EST
On Thu, Jun 24, 2010 at 01:33:24PM +0200, Peter Zijlstra wrote:
> On Thu, 2010-06-24 at 13:20 +0200, Andi Kleen wrote:
> > > softirq can't sleep either, you need a trampoline anywa
> > Not true, when you interrupt ring 3 it can sleep. You just need to make
> > sure to run on the right stack and fix up any irq counters.
> But that is not softirq. That would be something like what faults do,
Yes not a classical one, but can use the same infrastructure.
> but we don't have anything else that does that.
Actually we do, audit in syscalls and scheduling in interrupts and signals
all work this way. Probably more at some point adding more code to this
path was very popular.
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/