linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] remove parameter 'compound' of add_file_rmap
@ 2023-02-06 15:30 Yin Fengwei
  2023-02-06 15:30 ` [RFC PATCH 1/2] rmap: Add function to handle entire folio rmap removing Yin Fengwei
  2023-02-06 15:30 ` [RFC PATCH 2/2] rmap: remove parameter 'compound' from foeio_add_file_rmap_range() Yin Fengwei
  0 siblings, 2 replies; 7+ messages in thread
From: Yin Fengwei @ 2023-02-06 15:30 UTC (permalink / raw)
  To: willy, linux-mm; +Cc: dave.hansen, tim.c.chen, ying.huang, fengwei.yin

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(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-02-07  5:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 15:30 [RFC PATCH 0/2] remove parameter 'compound' of add_file_rmap Yin Fengwei
2023-02-06 15:30 ` [RFC PATCH 1/2] rmap: Add function to handle entire folio rmap removing Yin Fengwei
2023-02-06 15:30 ` [RFC PATCH 2/2] rmap: remove parameter 'compound' from foeio_add_file_rmap_range() Yin Fengwei
2023-02-06 16:50   ` Matthew Wilcox
2023-02-07  2:44     ` Yin, Fengwei
2023-02-07  5:03       ` Matthew Wilcox
2023-02-07  5:35         ` Yin, Fengwei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox