Re: [PATCH v4 5/5] mm: add tracepoints for zone lock
From: Vlastimil Babka (SUSE)
Date: Mon Mar 02 2026 - 09:27:30 EST
On 2/27/26 17:00, Dmitry Ilvokhin wrote:
> Add tracepoint instrumentation to zone lock acquire/release operations
> via the previously introduced wrappers.
>
> The implementation follows the mmap_lock tracepoint pattern: a
> lightweight inline helper checks whether the tracepoint is enabled and
> calls into an out-of-line helper when tracing is active. When
> CONFIG_TRACING is disabled, helpers compile to empty inline stubs.
>
> The fast path is unaffected when tracing is disabled.
>
> Signed-off-by: Dmitry Ilvokhin <d@xxxxxxxxxxxx>
> Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>
Agree with Steven; otherwise
Reviewed-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>