Re: [PATCH v11 6/8] mm: Introduce mf_dax_kill_procs() for fsdax case

2022-03-29 Thread Christoph Hellwig
On Sun, Feb 27, 2022 at 08:07:45PM +0800, Shiyang Ruan wrote: > This function is called at the end of RMAP routine, i.e. filesystem > recovery function, to collect and kill processes using a shared page of > DAX file. I think just throwing RMAP inhere is rather confusing. > The difference with mf

[PATCH v11 6/8] mm: Introduce mf_dax_kill_procs() for fsdax case

2022-02-27 Thread Shiyang Ruan
This function is called at the end of RMAP routine, i.e. filesystem recovery function, to collect and kill processes using a shared page of DAX file. The difference with mf_generic_kill_procs() is, it accepts file's (mapping,offset) instead of struct page because different files' mappings and offs