mm: folio_pte_batch() improvements
Status from this message: [merged mm-stable] mm-remove-boolean-output-parameters-from-folio_pte_batch_ext.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 12 repliesApplied 4/4
- v14 patches 53 repliesSuperseded
Changes in v2 from the cover letter
* Use FPB_RESPECT_* instead of FPB_HONOR_*
* Use folio_pte_batch_flags() instead of folio_pte_batch_ext()
* Improvements to patch descriptions + comments/doc
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm: convert FPB_IGNORE_* into FPB_RESPECT_*mm/ mm/ mm/ +4 more | +18 | 1 reply | Applied |
| 2/4 | mm: smaller folio_pte_batch() improvementsmm/ | +15 | 2 replies | Applied |
| 3/4 | mm: split folio_pte_batch() into folio_pte_batch() and folio_pte_batch_flags()mm/ mm/ mm/ +5 more | +46 | 2 replies | Applied |
| 4/4 | mm: remove boolean output parameters from folio_pte_batch_ext()mm/ mm/ mm/ +1 more | +50 | 7 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Lance Yang | Zi Yan | Oscar Salvador | Lorenzo Stoakes | Dev Jain |
|---|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | R-b | |
| 2/4 | R-b | R-b | R-b | R-b | R-b |
| 3/4 | R-b | R-b | R-b | ||
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 0/4] mm: folio_pte_batch() improvements
Ever since we added folio_pte_batch() for fork() + munmap() purposes, a lot more users appeared (and more are being proposed), and more functionality was added.
Most of the users only need basic functionality, and could benefit from a non-inlined version.
So let's clean up folio_pte_batch() and split it into a basic folio_pte_batch() (no flags) and a more advanced folio_pte_batch_ext(). Using either variant will now look much cleaner.
This series will likely conflict with some changes in some (old+new) folio_pte_batch() users, but conflicts should be trivial to resolve.
Tested on x86-64. Cross-compile tested.
v1 -> v2:
* Use FPB_RESPECT_* instead of FPB_HONOR_*
* Use folio_pte_batch_flags() instead of folio_pte_batch_ext()
* Improvements to patch descriptions + comments/doc
David Hildenbrand (4):
mm: convert FPB_IGNORE_* into FPB_RESPECT_*
mm: smaller folio_pte_batch() improvements
mm: split folio_pte_batch() into folio_pte_batch() and
folio_pte_batch_flags()
mm: remove boolean output parameters from folio_pte_batch_ext()
mm/internal.h | 117 ++++++++++++++++++++++++++++--------------------- mm/madvise.c | 27 +++--------- mm/memory.c | 21 +++------ mm/mempolicy.c | 5 +-- mm/mlock.c | 4 +- mm/mremap.c | 4 +- mm/rmap.c | 4 +- mm/util.c | 29 ++++++++++++ 8 files changed, 112 insertions(+), 99 deletions(-)
base-commit: 01136079697c6686e7198bf1797c004767ecf6f1
Signature · 1 line
2.49.0