Skip to content

RFC remove parameter 'compound' of add_file_rmap

Yin Fengwei linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rmap: Add function to handle entire folio rmap removingmm/rmap.c+27 -140 replies
2/2rmap: remove parameter 'compound' from foeio_add_file_rmap_range()include/linux/rmap.h mm/memory.c mm/rmap.c+35 -204 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] remove parameter 'compound' of add_file_rmap

This is follow-up patch of "folio based filemap_map_pages()". Matthew suggested to remove the parameter compound. Compare the folio page number and parameter nr_pages to detect whether it's a 'compound' operation.

Didn't remove 'compound' from page_remove_rmap() because it's not ready yet.

Just did very limited test: boot to xfce GUI and used browser, email client and Linux kernel build.

Yin Fengwei (2):
rmap: Add function to handle entire folio rmap removing
rmap: remove parameter 'compound' from foeio_add_file_rmap_range()

 mm/rmap.c | 82 +++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 56 insertions(+), 26 deletions(-)
Signature · 1 line
2.30.2