diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-01-11 14:28:57 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:32:57 -0800 |
commit | c7f84b5723f1a60becd79d895ab214a7d5ee93c1 (patch) | |
tree | c4d4144edba7db974408f8d1feeaa15c20c3f58b /mm/debug.c | |
parent | db4e5dbdcdd55482ab23bf4a0ae6746f93efb0d9 (diff) | |
download | linux-c7f84b5723f1a60becd79d895ab214a7d5ee93c1.tar.gz linux-c7f84b5723f1a60becd79d895ab214a7d5ee93c1.tar.bz2 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