Re: [PATCH] genirq: don't use flush_scheduled_work() in IRQ affinitynotifiers

From: Tejun Heo
Date: Wed Jun 15 2011 - 10:30:37 EST


On Wed, Jun 15, 2011 at 04:29:17PM +0200, Tejun Heo wrote:
> cd7eab44e9 (genirq: Add IRQ affinity notifiers) added use of
> flush_scheduled_work() which is being deprecated. Add a dedicated
> workqueue and flush it instead of flushing system-wide workqueue.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
> ---
> I'm planning on marking flush_scheduled_work() deprecated in
> linux-next soonish. It would be great if this patch (or something
> else which removes flush_scheduled_work() call somehow) can be
> included in linux-next.

Ooh, right, only compile & boot tested. Don't have anything which
makes use of affinity notifier.

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/