diff options
| author | Kemeng Shi <[email protected]> | 2023-09-27 18:35:13 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-18 14:34:15 -0700 |
| commit | 27e0db3c21aaf1422980e64b77956e15b839306f (patch) | |
| tree | 22263afa0610540d1f7d5e023f27ab823a638766 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 9a12d103f7d2d524f5e3d4358b9a9c03e4a9f1d2 (diff) | |
mm/page_alloc: remove unnecessary check in break_down_buddy_pages
Patch series "Two minor cleanups to break_down_buddy_pages", v2.
Two minor cleanups to break_down_buddy_pages.
This patch (of 2):
1. We always have target in range started with next_page and full free
range started with current_buddy.
2. The last split range size is 1 << low and low should be >= 0, then
size >= 1. So page + size != page is always true (because size > 0).
As summary, current_page will not equal to target page.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kemeng Shi <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions