Re: [PATCH] mm: page_alloc: fix memcg accounting leak in speculative cache lookup
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-03-19 13:23:40
Also in:
linux-mm, lkml
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-03-19 13:23:40
Also in:
linux-mm, lkml
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.