Messages in this thread | | | From | "Shreyas B. Prabhu" <> | Subject | [PATCH RESEND 0/3] tracing/mm: Fix suspicious rcu_dereference_check() usage warnings | Date | Fri, 8 May 2015 22:50:43 +0530 |
| |
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(-)
-- 1.9.3
| |