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

2021-10-19 Thread Shiyang Ruan
在 2021/10/15 3:32, Darrick J. Wong 写道: On Fri, Sep 24, 2021 at 09:09:57PM +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. The difference between

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

2021-10-14 Thread Darrick J. Wong
On Fri, Sep 24, 2021 at 09:09:57PM +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. The difference between mf_generic_kill_procs() is, > it accepts file's

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

2021-09-24 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 between mf_generic_kill_procs() is, it accepts file's mapping,offset instead of struct page. Because different file's mappings and