summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2015-02-12 00:28:36 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 02:06:07 +0100
commit57c2e36b6f4dd52e7e90f4c748a665b13fa228d2 (patch)
tree9d93d542a10f9ceb3c0ef914b6847975aff445e9 /mm/mmap.c
parentmm/page_owner.c: remove unnecessary stack_trace field (diff)
downloadlinux-57c2e36b6f4dd52e7e90f4c748a665b13fa228d2.tar.xz
linux-57c2e36b6f4dd52e7e90f4c748a665b13fa228d2.zip
vmstat: Reduce time interval to stat update on idle cpu
It was noted that the vm stat shepherd runs every 2 seconds and that the vmstat update is then scheduled 2 seconds in the future. This yields an interval of double the time interval which is not desired. Change the shepherd so that it does not delay the vmstat update on the other cpu. We stil have to use schedule_delayed_work since we are using a delayed_work_struct but we can set the delay to 0. Signed-off-by: Christoph Lameter <cl@linux.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions