[lkml]   [2015]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[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:

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(-)


 \ /
  Last update: 2015-05-08 19:41    [W:0.074 / U:17.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site