diff options
| author | David Hildenbrand <[email protected]> | 2023-09-13 14:51:11 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:27 -0700 |
| commit | a1f34ee1de2c3a55bc2a6b9a38e1ecd2830dcc03 (patch) | |
| tree | 44acea591034a24142863e9c03bd0781a853e2c8 /include/linux/debugobjects.h | |
| parent | c5c540034747dfe450f64d1151081a6080daa8f9 (diff) | |
mm/rmap: warn on new PTE-mapped folios in page_add_anon_rmap()
If swapin code would ever decide to not use order-0 pages and supply a
PTE-mapped large folio, we will have to change how we call
__folio_set_anon() -- eventually with exclusive=false and an adjusted
address. For now, let's add a VM_WARN_ON_FOLIO() with a comment about the
situation.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions