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

John Hubbard
2022-05-12T01:07:39Z

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