[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1277379294.1875.959.camel@laptop>
Date: Thu, 24 Jun 2010 13:34:54 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Andi Kleen <andi@...stfloor.org>,
Huang Ying <ying.huang@...el.com>,
"H.PeterA" <"nvin hpa"@zytor.com>, linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH] irq_work
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists