From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932427AbbEHRV0 (ORCPT ); Fri, 8 May 2015 13:21:26 -0400 Received: from e18.ny.us.ibm.com ([129.33.205.208]:50984 "EHLO e18.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932381AbbEHRVX (ORCPT ); Fri, 8 May 2015 13:21:23 -0400 From: "Shreyas B. Prabhu" To: linux-kernel@vger.kernel.org Cc: rostedt@goodmis.org, mingo@redhat.com, aneesh.kumar@linux.vnet.ibm.com, paulmck@linux.vnet.ibm.com, preeti@linux.vnet.ibm.com, mgorman@suse.de, namhyung@kernel.org, lizf@cn.fujitsu.com, acme@redhat.com, "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 Message-Id: <1431105646-26558-1-git-send-email-shreyas@linux.vnet.ibm.com> X-Mailer: git-send-email 1.9.3 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15050817-0045-0000-0000-00000022C250 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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