diff options
| author | Michal Hocko <[email protected]> | 2016-02-05 23:36:27 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-02-06 02:10:40 +0000 |
| commit | ccde8bd4014eb2f01102f7a64f0fad3df193b758 (patch) | |
| tree | fd5dc287e1bbd2088841551079e389ed75b37993 /fs/btrfs/dev-replace.c | |
| parent | mm, vmstat: make quiet_vmstat lighter (diff) | |
| download | kernel-ccde8bd4014eb2f01102f7a64f0fad3df193b758.tar.gz kernel-ccde8bd4014eb2f01102f7a64f0fad3df193b758.zip | |
vmstat: make vmstat_update deferrable
Commit 0eb77e988032 ("vmstat: make vmstat_updater deferrable again and
shut down on idle") made vmstat_shepherd deferrable. vmstat_update
itself is still useing 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 <[email protected]>
Signed-off-by: Michal Hocko <[email protected]>
Cc: Mike Galbraith <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
