diff options
| author | Johannes Weiner <[email protected]> | 2024-03-20 14:02:07 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:02 -0700 |
| commit | 9cbe97bad5cd75b5b493734bd2695febb8e95281 (patch) | |
| tree | 8aecf3ebca5a64eee699068b88c8331bf0ab2081 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | 17edeb5d3f761c20fd28f6002f5a9faa53c0a0d8 (diff) | |
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/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Suggested-by: Vlastimil Babka <[email protected]>
Tested-by: "Huang, Ying" <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Tested-by: Baolin Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions