tracing/mm: Fix suspicious rcu_dereference_check() usage warnings
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/23 patches 7 repliesIn review
- v1 posting 1/23 patches 14 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tracing/mm: Don't trace kmem_cache_free on offline cpusinclude/ | +4 | 0 replies | |
| 2/3 | tracing/mm: Don't trace mm_page_free on offline cpusinclude/ | +3 | 0 replies | |
| 3/3 | tracing/mm: Don't trace mm_page_pcpu_drain on offline cpusinclude/ | +15 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Preeti U Murthy | Steven Rostedt |
|---|---|---|
| 1/3 | R-b | A-b |
| 2/3 | R-b | A-b |
| 3/3 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND 0/3] tracing/mm: Fix suspicious rcu_dereference_check() usage warnings
Since tracepoints use RCU for protection, they must not be called on offline cpus. Running with LOCKDEP enabled discovered few scenarios where trace points were called on offline cpus. These patches fix this by converting these trace events into conditonal trace events where condition is cpu_online(smp_processor_id())
Previous posting of the patchset can be found here:
https://lkml.org/lkml/2015/4/28/512
This resend CCs people who added/edited the trace events in question.
Shreyas B. Prabhu (3):
tracing/mm: Don't trace kmem_cache_free on offline cpus tracing/mm: Don't trace mm_page_free on offline cpus tracing/mm: Don't trace mm_page_pcpu_drain on offline cpus
include/trace/events/kmem.h | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.3