Re: [PATCH] vmstat: make vmstat_update deferrable (was: Re: [PATCH] mm, vmstat: make quiet_vmstat lighter) path cycle muncher (vmstat: make vmstat_updater deferrable) again and shut down on idle)

From: Christoph Lameter
Date: Thu Jan 28 2016 - 11:48:15 EST

On Thu, 28 Jan 2016, Michal Hocko wrote:

> down on idle") made vmstat_shepherd deferrable. vmstat_update itself
> is still using standard timer which might interrupt idle task. This
> is possible because "mm, vmstat: make quiet_vmstat lighter" removed
> cancel_delayed_work from the quiet_vmstat. Change vmstat_work to
> use DEFERRABLE_WORK to prevent from pointless wakeups from the idle
> context.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>