diff options
author | David Hildenbrand <[email protected]> | 2023-12-20 23:44:47 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:52 -0800 |
commit | b06dc281aa9901076898d4d0a7bde588f11bc204 (patch) | |
tree | 8f22630e92ebc6a1770b78748120ee47a33d416a /net/lapb/lapb_out.c | |
parent | 0cae959e3abf19ba62805f6e6a8b42b6cd9ed3e3 (diff) |
mm/rmap: introduce folio_remove_rmap_[pte|ptes|pmd]()
Let's mimic what we did with folio_add_file_rmap_*() and
folio_add_anon_rmap_*() so we can similarly replace page_remove_rmap()
next.
Make the compiler always special-case on the granularity by using
__always_inline.
We're adding folio_remove_rmap_ptes() handling right away, as we want to
use that soon for batching rmap operations when unmapping PTE-mapped large
folios.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Yin Fengwei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions