Re: [PATCH v8 10/14] x86/mm: Factor out flush_tlb_info initialization
From: Sebastian Andrzej Siewior
Date: Tue Jun 16 2026 - 09:15:57 EST
On 2026-06-16 19:11:23 [+0800], Chuyi Zhou wrote:
> get_flush_tlb_info() currently does two things: it reserves the per-CPU
> flush_tlb_info storage and initializes the fields that describe the
> flush.
>
> Split the field setup into init_flush_tlb_info(). The per-CPU storage,
> DEBUG_VM reentrancy check and put_flush_tlb_info() lifetime rules are
> unchanged.
>
> This is a preparatory cleanup for allowing callers to provide their own
> flush_tlb_info storage.
>
> Signed-off-by: Chuyi Zhou <zhouchuyi@xxxxxxxxxxxxx>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Sebastian