diff options
author | David Hildenbrand <[email protected]> | 2023-12-20 23:44:37 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:50 -0800 |
commit | 96fd74958c558d6976bbc303dda0efa389182fab (patch) | |
tree | 62e4e1b18e717322e097814a251e30f9ddf96a44 /net/lapb/lapb_out.c | |
parent | be6e57cfabe99a5d3b3869103c4ea0ed4a9692d4 (diff) |
mm/rmap: factor out adding folio mappings into __folio_add_rmap()
Let's factor it out to prepare for reuse as we convert
page_add_anon_rmap() to folio_add_anon_rmap_[pte|ptes|pmd]().
Make the compiler always special-case on the granularity by using
__always_inline.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Yin Fengwei <[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]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions