summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorMel Gorman <mgorman@techsingularity.net>2022-03-23 00:43:36 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 01:57:06 +0300
commitfd56eef258a17bbc8eda2ca773fa538f354c5f49 (patch)
treefe9adbd5e7504c115c100dccbba9a991d3cc9574 /.cocciconfig
parent35b6d770e6334aa470080570f0f81c8b74a07afd (diff)
downloadlinux-fd56eef258a17bbc8eda2ca773fa538f354c5f49.tar.xz
mm/page_alloc: simplify how many pages are selected per pcp list during bulk free
free_pcppages_bulk() selects pages to free by round-robining between lists. Originally this was to evenly shrink pages by migratetype but uneven freeing is inevitable due to high pages. Simplify list selection by starting with a list that definitely has pages on it in free_unref_page_commit() and for drain, it does not matter where draining starts as all pages are removed. Link: https://lkml.kernel.org/r/20220217002227.5739-4-mgorman@techsingularity.net Signed-off-by: Mel Gorman <mgorman@techsingularity.net> Reviewed-by: Vlastimil Babka <vbabka@suse.cz> Tested-by: Aaron Lu <aaron.lu@intel.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions