mm/pageblock: improve readability of some pageblock handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v22 patches 8 repliesSuperseded
- v12 patches 6 repliesSuperseded
Changes in v3 from the cover letter
fix the definition of MIGRATETYPE_MASK, thanks ziy
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/page_alloc: use xxx_pageblock_isolate() for better readingmm/ | +3 | 0 replies | |
| 2/2 | mm/pageblock-flags: remove PB_migratetype_bits/PB_migrate_endinclude/ mm/ | +7 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Zi Yan | David Hildenbrand |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch v3 0/2] mm/pageblock: improve readability of some pageblock handling
During code reading, found two possible points to improve the readability of pageblock handling.
Patch 1: isolate bit is standalone and there are dedicated helpers. Instead of check the bit directly, we could use the helper to do it.
Patch 2: remove PB_migratetype_bits and PB_migrate_end to reduce magical computation.
v2->v3:
fix the definition of MIGRATETYPE_MASK, thanks ziy
v1->v2:
remove PB_migratetype_bits and PB_migrate_end
Wei Yang (2):
mm/page_alloc: use xxx_pageblock_isolate() for better reading mm/pageblock-flags: remove PB_migratetype_bits/PB_migrate_end
include/linux/pageblock-flags.h | 12 +++++------- mm/page_alloc.c | 11 +++++------ 2 files changed, 10 insertions(+), 13 deletions(-)
Signature · 1 line
2.34.1