Re: [PATCH 01/13] static_call: Index code text reservation lookups
From: Peter Zijlstra
Date: Thu Nov 12 2026 - 03:38:44 EST
On Mon, Nov 09, 2026 at 08:49:04PM +0100, Jiri Olsa wrote:
> Text reservation checks scan every static call site. Build an address-sorted
> index for core text sites and use binary search to find the starting point
> near the requested range.
>
> Module indexing is intentionally unsupported. Module reservation checks
> continue to use a linear scan, avoiding per-module index allocation and
> teardown complexity.
So this changelog leaves me wondering why, and at what cost. Why do I
want to have this extra array in my kernel and such.