diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-09-13 00:13:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-13 00:38:02 +0200 |
commit | 5fbc461636c32efdb9d5216d491d37a40d54535b (patch) | |
tree | 119599fe279ba3daf94422d54cfc7bd2a5ae4a80 /fs/hpfs/file.c | |
parent | memcg: document cgroup dirty/writeback memory statistics (diff) | |
download | linux-5fbc461636c32efdb9d5216d491d37a40d54535b.tar.xz linux-5fbc461636c32efdb9d5216d491d37a40d54535b.zip |
mm: make lru_add_drain_all() selective
make lru_add_drain_all() only selectively interrupt the cpus that have
per-cpu free pages that can be drained.
This is important in nohz mode where calling mlockall(), for example,
otherwise will interrupt every core unnecessarily.
This is important on workloads where nohz cores are handling 10 Gb traffic
in userspace. Those CPUs do not enter the kernel and place pages into LRU
pagevecs and they really, really don't want to be interrupted, or they
drop packets on the floor.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/file.c')
0 files changed, 0 insertions, 0 deletions