Re: [RFC PATCH 1/2] locking: add mutex_lock_nospin()

From
Yafang Shao <hidden>
Date
2026-03-05 02:33:36
Also in
bpf, lkml
Reply to
Steven Rostedt, 2026-03-05
On Thu, Mar 5, 2026 at 10:28 AM Steven Rostedt [off-list ref] wrote:
On Thu, 5 Mar 2026 10:17:09 +0800
Yafang Shao [off-list ref] wrote:
quoted
bpftrace is a widely used tool for online debugging and dynamic
tracing. However, sysadmins may unknowingly run multiple bpftrace
instances concurrently without realizing the potential impact on
system performance.

If this is your answer, I believe we should clearly document the
following warning:

  Warning: Do not read available_filter_functions concurrently, as
doing so can significantly degrade system performance and potentially
impact production workloads.
Or update bpftrace to cache that file. It's only updated on module load
and unload, which isn't done much. There's no reason it needs to
constantly read that file if bpftrace is being used constantly.
Other tools may also read available_filter_functions, requiring each
one to be patched individually to avoid this flaw—a clearly
impractical solution.

-- 
Regards
Yafang
Thread (29 messages) 29 messages, 5 authors, last reply 2026-03-09
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