summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMel Gorman <mgorman@techsingularity.net>2022-03-23 00:43:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 01:57:06 +0300
commit35b6d770e6334aa470080570f0f81c8b74a07afd (patch)
treebfd767977bc24462df79ffa4acb8abfd0846d4f2 /include/linux/debugobjects.h
parentca7b59b1de72450b3e696bada3506a519ac5455c (diff)
downloadlinux-35b6d770e6334aa470080570f0f81c8b74a07afd.tar.xz
mm/page_alloc: track range of active PCP lists during bulk free
free_pcppages_bulk() frees pages in a round-robin fashion. Originally, this was dealing only with migratetypes but storing high-order pages means that there can be many more empty lists that are uselessly checked. Track the minimum and maximum active pindex to reduce the search space. Link: https://lkml.kernel.org/r/20220217002227.5739-3-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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions