Re: [PATCH 01/13] static_call: Index code text reservation lookups
From: Jiri Olsa
Date: Thu Nov 12 2026 - 14:04:54 EST
On Thu, Nov 12, 2026 at 09:27:09AM +0100, Peter Zijlstra wrote:
> 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.
right, I'll include benchmark numbers for each change
jirka