diff options
| author | Miaohe Lin <[email protected]> | 2022-08-30 20:36:00 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-26 19:46:03 -0700 |
| commit | da29499124cd2221539b235c1f93c7d93faf6565 (patch) | |
| tree | 48d4a23dbf64c00c068443eedfc14a1e5cc43f9e /tools/perf/scripts/python/flamegraph.py | |
| parent | 2fe62e222680e1d6ff7112cad5bcccdc858d020d (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions