Re: [PATCH 01/13] static_call: Index code text reservation lookups

From
Jiri Olsa <hidden>
Date
2026-11-12 18:33:29
Also in
bpf, lkml
Reply to
Peter Zijlstra, 2026-11-12
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:
quoted
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
Thread (34 messages) 34 messages, 6 authors, last reply 4d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help