diff options
| author | David Hildenbrand <david@redhat.com> | 2023-09-13 14:51:09 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:27 -0700 |
| commit | c66db8c0702c0ab741ecfd5e12b323ff49fe9089 (patch) | |
| tree | 4a467c3072538a7ec4cfcb8d7c3c2b3e78a707e4 /scripts/patch-kernel | |
| parent | mm/rmap: drop stale comment in page_add_anon_rmap and hugepage_add_anon_rmap() (diff) | |
| download | linux-c66db8c0702c0ab741ecfd5e12b323ff49fe9089.tar.gz linux-c66db8c0702c0ab741ecfd5e12b323ff49fe9089.zip | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
