diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2019-12-01 02:55:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-01 21:59:06 +0100 |
commit | cb1ef534ceb745f237eafb72ff5555d74fa49235 (patch) | |
tree | 7fc011091f4a2a0f8449180976978b202128a3ec /net/core | |
parent | mm/page_alloc: add alloc_contig_pages() (diff) | |
download | linux-cb1ef534ceb745f237eafb72ff5555d74fa49235.tar.xz linux-cb1ef534ceb745f237eafb72ff5555d74fa49235.zip |
mm, pcp: share common code between memory hotplug and percpu sysctl handler
Both the percpu_pagelist_fraction sysctl handler and memory hotplug have
a common requirement of updating the pcpu page allocation batch and high
values. Split the relevant helper to share common code.
No functional change.
Link: http://lkml.kernel.org/r/20191021094808.28824-3-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Qian Cai <cai@lca.pw>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions