This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/20192] "suspicious RCU usage." warning from kernel when running testsuite
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 03 Jun 2016 14:32:21 +0000
- Subject: [Bug runtime/20192] "suspicious RCU usage." warning from kernel when running testsuite
- Auto-submitted: auto-generated
- References: <bug-20192-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20192
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Created attachment 9314
--> https://sourceware.org/bugzilla/attachment.cgi?id=9314&action=edit
potential patch
Here's a potential patch to fix this issue. It marks the contexts array with
'__rcu' and makes sure all accesses to it use the rcu functions.
I'm a bit unsure if the addition of rcu_read_lock()/rcu_read_unlock() is truly
necessary in _stp_runtime_context_wait().
--
You are receiving this mail because:
You are the assignee for the bug.