Re: [RFC][PATCH] irq_work

From: Peter Zijlstra
Date: Thu Jun 24 2010 - 07:35:05 EST

On Thu, 2010-06-24 at 13:23 +0200, Ingo Molnar wrote:

> What might make sense is to offer two types of callbacks: one that is
> immediate whenever an event triggers - and another that is sleepable and is
> executed from process context.

Trouble is waking that thread, you cannot wake tasks from NMI context,
so whatever you do, you'll end up with a trampoline.

You could of course offer that trampoline nicely packaged, but I'm not
sure that's really worth the effort.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at