aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCharan Teja Kalla <[email protected]>2023-08-09 13:35:44 +0530
committerAndrew Morton <[email protected]>2023-08-21 13:37:50 -0700
commitb7108d66318abf3e060c7839eabcba52e9461568 (patch)
tree8dd62fc2d3aa4867b3f2a538fad0950e7de1a68a /tools/perf/scripts/python/export-to-sqlite.py
parent8fbb92bd10be26d0feec6bc35332159145c27cc0 (diff)
Multi-gen LRU: skip CMA pages when they are not eligible
This patch is based on the commit 5da226dbfce3("mm: skip CMA pages when they are not available") which skips cma pages reclaim when they are not eligible for the current allocation context. In mglru, such pages are added to the tail of the immediate generation to maintain better LRU order, which is unlike the case of conventional LRU where such pages are directly added to the head of the LRU list(akin to adding to head of the youngest generation in mglru). No observable issue without this patch on MGLRU, but logically it make sense to skip the CMA page reclaim when those pages can't be satisfied for the current allocation context. Link: https://lkml.kernel.org/r/[email protected] Fixes: ac35a4902374 ("mm: multi-gen LRU: minimal implementation") Signed-off-by: Charan Teja Kalla <[email protected]> Reviewed-by: Kalesh Singh <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Cc: Yu Zhao <[email protected]> Cc: Zhaoyang Huang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions