diff options
| author | Zi Yan <[email protected]> | 2022-04-28 23:16:01 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:01 -0700 |
| commit | bb0e28eb5bc2b3a22e47861ca59bccca566023e8 (patch) | |
| tree | a5889c225b9923c7db9b25d804b1997fb8a4e4aa /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 379313241e77abc18258da1afd49d111c72c5a3d (diff) | |
mm: page_alloc: simplify pageblock migratetype check in __free_one_page()
Move pageblock migratetype check code in the while loop to simplify the
logic. It also saves redundant buddy page checking code.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/linux-mm/[email protected]/
Signed-off-by: Zi Yan <[email protected]>
Suggested-by: Vlastimil Babka <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions