Re: [PATCH v4] mm: fix is_pinnable_page against on cma page

From: John Hubbard
Date: Wed May 11 2022 - 21:07:39 EST


On 5/11/22 18:03, Minchan Kim wrote:

Or there might be some code path that really hates a READ_ONCE() in
that place.

My worry about chaning __get_pfnblock_flags_mask is it's called
multiple hot places in mm codes so I didn't want to add overhead
to them.

...unless it really does generate the same code as is already there,
right? Let me check that real quick.

thanks,
--
John Hubbard
NVIDIA