mm/mremap: cleanup move_page_tables() a little
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesIn review
- v15 patches 20 repliesSuperseded
Changes in v2 from the cover letter
* remove 3rd patch which doesn't work on ARM platform. Thanks report from Dmitry Osipenko
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/mremap: format the check in move_normal_pmd() same as move_huge_pmd()mm/ | +3 | 0 replies | |
| 2/4 | mm/mremap: it is sure to have enough space when extent meets requirementinclude/ mm/ mm/ | +7 | 0 replies | |
| 3/4 | mm/mremap: calculate extent in one placemm/ | +3 | 0 replies | |
| 4/4 | mm/mremap: start addresses are properly alignedmm/ mm/ | +0 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Osipenko |
|---|---|
| Series | T-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch v2 0/4] 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.
v2:
* remove 3rd patch which doesn't work on ARM platform. Thanks report from Dmitry Osipenko
Wei Yang (4):
mm/mremap: format the check in move_normal_pmd() same as
move_huge_pmd()
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.17.1