Re: [PATCH] percpu: add basic double free check
From: Sebastian Andrzej Siewior
Date: Mon Jan 12 2026 - 11:03:24 EST
On 2025-12-19 16:27:37 [-0800], Dennis Zhou wrote:
> This adds a basic double free check by validating the first bit of the
> allocation in alloc_map and bound_map are set. If the alloc_map bit is
> not set, then this means the area is currently unallocated. If the
> bound_map bit is not set, then we are not freeing from the beginning of
> the allocation.
>
> This is a respin of [1] adding the requested changes from me and
> Christoph.
Thank you.
> [1] https://lore.kernel.org/linux-mm/20250904143514.Yk6Ap-jy@xxxxxxxxxxxxx/
>
Sebastian