Re: [PATCH v11 5/8] mm: move pgoff_address() to vma_pgoff_address()

2022-03-29 Thread Shiyang Ruan
在 2022/3/30 13:46, Christoph Hellwig 写道: On Sun, Feb 27, 2022 at 08:07:44PM +0800, Shiyang Ruan wrote: Since it is not a DAX-specific function, move it into mm and rename it to be a generic helper. FYI, there is a patch in -mm and linux-next: "mm: rmap: introduce pfn_mkclean_range() to

Re: [PATCH v11 5/8] mm: move pgoff_address() to vma_pgoff_address()

2022-03-29 Thread Christoph Hellwig
On Sun, Feb 27, 2022 at 08:07:44PM +0800, Shiyang Ruan wrote: > Since it is not a DAX-specific function, move it into mm and rename it > to be a generic helper. FYI, there is a patch in -mm and linux-next: "mm: rmap: introduce pfn_mkclean_range() to cleans PTEs" that adds a vma_pgoff_address w

[PATCH v11 5/8] mm: move pgoff_address() to vma_pgoff_address()

2022-02-27 Thread Shiyang Ruan
Since it is not a DAX-specific function, move it into mm and rename it to be a generic helper. Signed-off-by: Shiyang Ruan Reviewed-by: Christoph Hellwig Reviewed-by: Dan Williams --- fs/dax.c | 12 +--- include/linux/mm.h | 13 + 2 files changed, 14 insertions(+)