diff options
author | 2023-01-11 14:28:57 +0000 | |
---|---|---|
committer | 2023-02-02 22:32:57 -0800 | |
commit | c7f84b5723f1a60becd79d895ab214a7d5ee93c1 (patch) | |
tree | c4d4144edba7db974408f8d1feeaa15c20c3f58b /mm/debug.c | |
parent | mm: use a folio in hugepage_add_anon_rmap() and hugepage_add_new_anon_rmap() (diff) | |
download | wireguard-linux-c7f84b5723f1a60becd79d895ab214a7d5ee93c1.tar.xz wireguard-linux-c7f84b5723f1a60becd79d895ab214a7d5ee93c1.zip |
mm: use entire_mapcount in __page_dup_rmap()
Remove the use of the compound_mapcount_ptr() wrapper, and add an
assertion that we're not passing a tail page if we're duplicating a PMD.
Link: https://lkml.kernel.org/r/20230111142915.1001531-12-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions