diff options
| author | Alex Sierra <[email protected]> | 2022-07-15 10:05:11 -0500 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:28 -0700 |
| commit | 3218f8712d6bba1812efd5e0d66c1e15134f2a91 (patch) | |
| tree | 65d912c917fc8ba5a86cc1ada0c866f25f06216a /tools/perf/scripts/python | |
| parent | f25cbb7a95a24ff9a2a3bebd308e303942ae6b2c (diff) | |
mm: handling Non-LRU pages returned by vm_normal_pages
With DEVICE_COHERENT, we'll soon have vm_normal_pages() return
device-managed anonymous pages that are not LRU pages. Although they
behave like normal pages for purposes of mapping in CPU page, and for COW.
They do not support LRU lists, NUMA migration or THP.
Callers to follow_page() currently don't expect ZONE_DEVICE pages,
however, with DEVICE_COHERENT we might now return ZONE_DEVICE. Check for
ZONE_DEVICE pages in applicable users of follow_page() as well.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alex Sierra <[email protected]>
Acked-by: Felix Kuehling <[email protected]> [v2]
Reviewed-by: Alistair Popple <[email protected]> [v6]
Cc: Christoph Hellwig <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Ralph Campbell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions