summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2024-03-20 14:02:07 -0400
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:02 -0700
commit9cbe97bad5cd75b5b493734bd2695febb8e95281 (patch)
tree8aecf3ebca5a64eee699068b88c8331bf0ab2081 /tools/perf/scripts/python/flamegraph.py
parent17edeb5d3f761c20fd28f6002f5a9faa53c0a0d8 (diff)
downloadlinux-9cbe97bad5cd75b5b493734bd2695febb8e95281.tar.gz
linux-9cbe97bad5cd75b5b493734bd2695febb8e95281.zip
mm: page_alloc: optimize free_unref_folios()
Move direct freeing of isolated pages to the lock-breaking block in the second loop. This saves an unnecessary migratetype reassessment. Minor comment and local variable scoping cleanups. Link: https://lkml.kernel.org/r/20240320180429.678181-3-hannes@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Suggested-by: Vlastimil Babka <vbabka@suse.cz> Tested-by: "Huang, Ying" <ying.huang@intel.com> Reviewed-by: Vlastimil Babka <vbabka@suse.cz> Tested-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions