On Fri, Aug 09, 2024 at 12:08:53PM -0400, Peter Xu wrote: > We need these special bits to be around to enable gup-fast on pfnmaps. It is not gup-fast you are after but follow_pfn/etc for KVM usage right? GUP family of functions should all fail on pfnmaps. > Mark properly for !devmap case, reflecting that there's no page struct > backing the entry. > > Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> > --- > mm/huge_memory.c | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason