Re: [PATCH 02/13] jump_label: Index text reservation lookups
From: Peter Zijlstra
Date: Thu Nov 12 2026 - 03:43:19 EST
On Mon, Nov 09, 2026 at 08:49:05PM +0100, Jiri Olsa wrote:
> Text reservation checks scan every jump entry. Build an index sorted by
> code address for core entries and use binary search to find the starting
> point near the requested range. Keep the original table sorted by
> static-key address for updates.
>
> Module reservation checks continue to use a linear scan, avoiding
> per-module index allocation and teardown complexity.
>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
This is the *exact* same code as the last patch; seriously? You
couldn't share?