Re: [PATCH V2 3/3] workqueue: Schedule work on non-idle cpu insteadof current one
From: Tejun Heo
Date: Sun Sep 30 2012 - 04:55:04 EST
Hello, Viresh.
On Thu, Sep 27, 2012 at 02:34:05PM +0530, Viresh Kumar wrote:
> - A cpu has programmed a timer and is IDLE now.
> - CPU gets into interrupt handler due to timer and queues a work. As the CPU is
> currently IDLE, we can queue this work to some other CPU.
I'm still a bit confused, if the CPU is already running the IRQ
handler, the CPU is not idle by definition. What am I missing here?
Thanks.
--
tejun
--
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/