* [Bug runtime/31012] New: Bug: kernel module loading might block a CPU more than 1.5ms on very fast machines
@ 2023-10-30 19:24 agentzh at gmail dot com
2023-10-30 22:08 ` [Bug runtime/31012] " agentzh at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2023-10-30 19:24 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31012
Bug ID: 31012
Summary: Bug: kernel module loading might block a CPU more than
1.5ms on very fast machines
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: agentzh at gmail dot com
Target Milestone: ---
Currently, the module init code calls the expensive kernel function
kallsyms_lookup_name() several times, which would block a CPU core for more
than 1.5ms on high-speed machines (Core i9-13900K).
Each kallsyms_lookup_name() might take more than 800us here.
We should add cond_resched() calls to mitigate this blocking effect. Will
prepare a patch shortly.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/31012] Bug: kernel module loading might block a CPU more than 1.5ms on very fast machines
2023-10-30 19:24 [Bug runtime/31012] New: Bug: kernel module loading might block a CPU more than 1.5ms on very fast machines agentzh at gmail dot com
@ 2023-10-30 22:08 ` agentzh at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2023-10-30 22:08 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31012
agentzh <agentzh at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Fixed in commit 68ddc8e46.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-30 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 19:24 [Bug runtime/31012] New: Bug: kernel module loading might block a CPU more than 1.5ms on very fast machines agentzh at gmail dot com
2023-10-30 22:08 ` [Bug runtime/31012] " agentzh at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).