This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/20192] "suspicious RCU usage." warning from kernel when running testsuite


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]