aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2021-04-29 23:01:36 -0700
committerLinus Torvalds <[email protected]>2021-04-30 11:20:43 -0700
commit39ddb991fc45abcdcddbec7fcdfe28795d0133d7 (patch)
tree5cd4a3d6f86442064ed8a72e183d98280b96cd70 /tools/perf/scripts/python/export-to-postgresql.py
parentd68d015a7e5e3d45624960420e32bd52a937447a (diff)
mm, page_alloc: avoid page_to_pfn() in move_freepages()
The start_pfn and end_pfn are already available in move_freepages_block(), there is no need to go back and forth between page and pfn in move_freepages and move_freepages_block, and pfn_valid_within() should validate pfn first before touching the page. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Liu Shixin <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions