lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 6 Feb 2015 15:11:14 -0500 From: Steven Rostedt <rostedt@...dmis.org> To: linux-kernel@...r.kernel.org Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, Dave Hansen <dave@...1.net>, "Rafael J. Wysocki" <rjw@...ysocki.net>, linux-next <linux-next@...r.kernel.org>, Stephen Rothwell <sfr@...b.auug.org.au>, Kristen Carlson Accardi <kristen@...ux.intel.com>, "H. Peter Anvin" <hpa@...ux.intel.com>, Rik van Riel <riel@...hat.com>, Mel Gorman <mgorman@...e.de>, Andrew Morton <akpm@...ux-foundation.org>, Sedat Dilek <sedat.dilek@...il.com> Subject: Re: [PATCH 1/2] tracing: Add condition check to RCU lockdep checks > diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h > index e08e21e5f601..68a346b8328a 100644 > --- a/include/linux/tracepoint.h > +++ b/include/linux/tracepoint.h > @@ -173,7 +173,7 @@ extern void syscall_unregfunc(void); > TP_PROTO(data_proto), \ > TP_ARGS(data_args), \ > TP_CONDITION(cond),,); \ > - if (IS_ENABLED(CONFIG_LOCKDEP)) { \ > + if (IS_ENABLED(CONFIG_LOCKDEP) && cond) { \ Bah, cond needs to be in parenthesis. Will post a v2 of this patch. -- Steve > rcu_read_lock_sched_notrace(); \ > rcu_dereference_sched(__tracepoint_##name.funcs);\ > rcu_read_unlock_sched_notrace(); \ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists