mm/mremap: cleanup move_page_tables() a little
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 0 repliesNew 1 of 3 applied
- v44 patches 3 repliesSuperseded 2 of 4 applied
- v34 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 8 replies | Superseded |
Changes in v5 from the cover letter
* remove the last patch which breaks on ARM
Patches in v5 1 of 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/mremap: it is sure to have enough space when extent meets requirementinclude/ mm/ mm/ | +7 | 0 replies | Applied |
| 2/3 | mm/mremap: calculate extent in one placemm/ | +3 | 0 replies | |
| 3/3 | mm/mremap: start addresses are properly alignedmm/ mm/ | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Dmitry Osipenko | Kirill A. Shutemov |
|---|---|---|
| 1/3 | T-b | A-b |
| 2/3 | T-b | A-b |
| 3/3 | T-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch v5 0/3] mm/mremap: cleanup move_page_tables() a little
move_page_tables() tries to move page table by PMD or PTE.
The root reason is if it tries to move PMD, both old and new range should be PMD aligned. But current code calculate old range and new range separately. This leads to some redundant check and calculation.
This cleanup tries to consolidate the range check in one place to reduce some extra range handling.
v5:
* remove the last patch which breaks on ARM
v4:
* remove a redundant parentheses pointed by Kirill
v3:
* merge patch 1 with 2 as suggested by Kirill
* add patch 4 to simplify the logic to calculate next and extent
v2:
* remove 3rd patch which doesn't work on ARM platform. Thanks report and test from Dmitry Osipenko
Wei Yang (3):
mm/mremap: it is sure to have enough space when extent meets
requirement
mm/mremap: calculate extent in one place mm/mremap: start addresses are properly aligned
include/linux/huge_mm.h | 2 +- mm/huge_memory.c | 8 +------- mm/mremap.c | 17 ++++++----------- 3 files changed, 8 insertions(+), 19 deletions(-)
Signature · 1 line
2.20.1 (Apple Git-117)