Re: [PATCH v5 1/9] mm/page_alloc: factor out the accept-and-free tail of __free_pages_core()

From: sashiko-bot

Date: Tue Sep 15 2026 - 09:25:44 EST


> __free_pages_core() ends by accepting the block if it is still
> unaccepted and then handing it to the allocator. The poisoned-memory
> replay later in this series needs that same tail for the parts of a
> block it does not withhold.
>
> Move it into accept_and_free_block(). This will be used later, when
> we need to accept and free a subset of a order-block that is
> not-poisioned.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Sashiko has reviewed this patch and found no issues. It looks great!

--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915-hwpoison-kho-v5-0-3bc7a57bd503@xxxxxxxxxx?part=1