aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-08-30 20:36:00 +0800
committerAndrew Morton <[email protected]>2022-09-26 19:46:03 -0700
commitda29499124cd2221539b235c1f93c7d93faf6565 (patch)
tree48d4a23dbf64c00c068443eedfc14a1e5cc43f9e /tools/perf/scripts/python/bin
parent2fe62e222680e1d6ff7112cad5bcccdc858d020d (diff)
mm, hwpoison: use __PageMovable() to detect non-lru movable pages
It's more recommended to use __PageMovable() to detect non-lru movable pages. We can avoid bumping page refcnt via isolate_movable_page() for the isolated lru pages. Also if pages become PageLRU just after they're checked but before trying to isolate them, isolate_lru_page() will be called to do the right work. [[email protected]: fixes per Naoya Horiguchi] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Cc: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions