Re: [PATCH v2.6.36-rc7] memory_hotplug: drop spurious calls toflush_scheduled_work()

From: KAMEZAWA Hiroyuki
Date: Sun Oct 17 2010 - 20:06:57 EST


On Fri, 15 Oct 2010 17:25:15 +0200
Tejun Heo <tj@xxxxxxxxxx> wrote:

> lru_add_drain_all() uses schedule_on_each_cpu() which is synchronous.
> There is no reason to call flush_scheduled_work() after
> lru_add_drain_all(). Drop the spurious calls.
>
> This is to prepare for the deprecation and removal of
> flush_scheduled_work().
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
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/