[PATCH RESEND 0/3] tracing/mm: Fix suspicious rcu_dereference_check() usage warnings

From: Shreyas B. Prabhu
Date: Fri May 08 2015 - 13:21:28 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/