On 15.07.22 17:05, Alex Sierra wrote: > 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. > > Signed-off-by: Alex Sierra <alex.sierra@xxxxxxx> > Acked-by: Felix Kuehling <Felix.Kuehling@xxxxxxx> (v2) > Reviewed-by: Alistair Popple <apopple@xxxxxxxxxx> (v6) > Acked-by: David Hildenbrand <david@xxxxxxxxxx> -- Thanks, David / dhildenb