Re: [RFC PATCH 2/2] rmap: remove parameter 'compound' from foeio_add_file_rmap_range()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 06, 2023 at 11:30:49PM +0800, Yin Fengwei wrote:
> Remove parameter 'compound' from folio_add_file_rmap_range().
> 
> The parameter nr_pages is checked whether same as folio page
> numbers to know whether it's entire folio operation.

We can't do this yet.  Even if a folio is large enough to be PMD mapped,
it may have been mapped askew (or its PMD mapping may have been split).
We still need the caller to tell us whether it's been mapped with
a PMD or with PTEs.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux