[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1208766355.26186.37.camel@johannes.berg>
Date: Mon, 21 Apr 2008 10:25:55 +0200
From: Johannes Berg <johannes@...solutions.net>
To: paulmck@...ux.vnet.ibm.com
Cc: linux-kernel@...r.kernel.org, Josh Triplett <josh@...edesktop.org>,
linux-wireless@...r.kernel.org, linux-sparse@...r.kernel.org
Subject: Re: [RFC 0/3] Examples for the new sparse context tracking
functionality
> At some point in the future, we might want to distinguish between
> the different flavors of RCU -- except that there is already common
> code that doesn't care which flavor of RCU is in use, as long as
> some sort of RCU is present. So make that "some point in the distant
> future"...
No big deal, just declare
my_specific_rcu_get() __acquires(RCU) __acquires(specificRCU);
and then annotate whatever needs the specific RCU type with
__requires(specificRCU)
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists