mm/huge_memory: Define split_type and consolidate split support checks
Status from this message: [merged mm-stable] mm-huge_memory-merge-uniform_split_supported-and-non_uniform_split_supported.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
* rebase on latest mm-new with Zi Yan fix [3]
* introduce split_type to identify uniform/non-uniform split
Patches in v3 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/huge_memory: introduce enum split_type for clarityinclude/ mm/ | +20 | 3 replies | Applied |
| 2/2 | mm/huge_memory: merge uniform_split_supported() and non_uniform_split_supported()include/ mm/ | +33 | 26 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand (Red Hat) |
|---|---|
| 1/2 | A-b |
| 2/2 | 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/huge_memory: Define split_type and consolidate split support checks
This two-patch series focuses on improving code clarity and removing redundancy in the huge memory handling logic related to folio splitting.
The series is based on an original proposal to merge two significantly identical functions that check folio split support[1]. During this process, we found an opportunity to improve readability by explicitly defining the split types.
Patch 1: define split_type and use it
Patch 2: merge uniform_split_supported() and non_uniform_split_supported()
V3:
* rebase on latest mm-new with Zi Yan fix [3]
* introduce split_type to identify uniform/non-uniform split
V2:
* adjust comment
* remove need_check
V1: [1]
[1]: lkml.kernel.org/r/[email protected] [2]: lkml.kernel.org/r/[email protected] [3]: lkml.kernel.org/r/[email protected]
Wei Yang (2):
mm/huge_memory: introduce enum split_type for clarity mm/huge_memory: merge uniform_split_supported() and
non_uniform_split_supported()
include/linux/huge_mm.h | 13 +++--- mm/huge_memory.c | 97 ++++++++++++++++++----------------------- 2 files changed, 51 insertions(+), 59 deletions(-)
Signature · 1 line
2.34.1