diff options
author | David Hildenbrand <david@redhat.com> | 2023-09-13 15:51:09 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 20:32:27 +0300 |
commit | c66db8c0702c0ab741ecfd5e12b323ff49fe9089 (patch) | |
tree | 4a467c3072538a7ec4cfcb8d7c3c2b3e78a707e4 /virt | |
parent | fd63908706f79c963946a77b7f352db5431deed5 (diff) | |
download | linux-c66db8c0702c0ab741ecfd5e12b323ff49fe9089.tar.xz |
mm/rmap: move SetPageAnonExclusive out of __page_set_anon_rmap()
Let's handle it in the caller. No need to pass the page. While at it,
rename the function to __folio_set_anon() and pass "bool exclusive"
instead of "int exclusive".
Link: https://lkml.kernel.org/r/20230913125113.313322-3-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions