diff options
| author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-08-09 18:07:53 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 13:37:49 -0700 |
| commit | f142b2c2530c1383a45e1ada1d641974b9723a35 (patch) | |
| tree | 90972b349350eacd40b0fb62cca3217061b6cfd7 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 1a8c64e110435e44e71bcd50a75663174b575f22 (diff) | |
| download | linux-f142b2c2530c1383a45e1ada1d641974b9723a35.tar.gz linux-f142b2c2530c1383a45e1ada1d641974b9723a35.zip | |
mm/page_alloc: remove track of active PCP lists range in bulk free
Patch series "Two minor cleanups for pcp list in page_alloc".
There are two minor cleanups for pcp list in page_alloc. More details
can be found in respective patches.
This patch (of 2):
After commit fd56eef258a17 ("mm/page_alloc: simplify how many pages are
selected per pcp list during bulk free"), we will drain all pages in
selected pcp list. And we ensured passed count is < pcp->count. Then,
the search will finish before wrap-around and track of active PCP lists
range intended for wrap-around case is no longer needed.
Link: https://lkml.kernel.org/r/20230809100754.3094517-1-shikemeng@huaweicloud.com
Link: https://lkml.kernel.org/r/20230809100754.3094517-2-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
