aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-04-28 23:16:06 -0700
committerakpm <[email protected]>2022-04-28 23:16:06 -0700
commitbc78b5ed9ff2359f8af1454ee98670b1dc79f06e (patch)
tree2e7f796b1e20398a62d41be8c268b9a64c4856f9 /tools/perf/scripts/python/event_analyzing_sample.py
parentda63dc84befaa9e6079a0bc363ff0eaa975f9073 (diff)
mm/mempolicy: clean up the code logic in queue_pages_pte_range
Since commit e5947d23edd8 ("mm: mempolicy: don't have to split pmd for huge zero page"), THP is never splited in queue_pages_pmd. Thus 2 is never returned now. We can remove such unnecessary ret != 2 check and clean up the relevant comment. Minor improvements in readability. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Yang Shi <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Zi Yan <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions