aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorZi Yan <[email protected]>2022-05-26 19:15:30 -0400
committerakpm <[email protected]>2022-05-27 09:33:42 -0700
commit9b209e557d698f24317d2619d8628b98b6728e4f (patch)
tree22147bc373ba47fda550097bbc3e4b0cdfe31f84 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentf403f22f8ccb12860b2b62fec3173c6ccd45938b (diff)
mm: page-isolation: skip isolated pageblock in start_isolate_page_range()
start_isolate_page_range() first isolates the first and the last pageblocks in the range and ensure pages across range boundaries are split during isolation. But it missed the case when the range is <= a pageblock and the first and the last pageblocks are the same one, so the second isolate_single_pageblock() will always fail. To fix it, skip the pageblock isolation in second isolate_single_pageblock(). Link: https://lkml.kernel.org/r/[email protected] Fixes: 88ee134320b8 ("mm: fix a potential infinite loop in start_isolate_page_range()") Signed-off-by: Zi Yan <[email protected]> Reported-by: Marek Szyprowski <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/linux-mm/[email protected]/ Reported-by: Michael Walle <[email protected]> Tested-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/linux-mm/[email protected]/ Cc: Christophe Leroy <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Doug Berger <[email protected]> Cc: Eric Ren <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Qian Cai <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions