Re: [PATCH] mm: page_alloc: fix memcg accounting leak in speculative cache lookup

Matthew Wilcox
2021-03-19T13:23:40Z

On Fri, Mar 19, 2021 at 03:15:47AM -0400, Johannes Weiner wrote:
> When the freeing of a higher-order page block (non-compound) races
> with a speculative page cache lookup, __free_pages() needs to leave
> the first order-0 page in the chunk to the lookup but free the buddy
> pages that the lookup doesn't know about separately.

Thanks.