[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080121.022821.56278182.davem@davemloft.net>
Date: Mon, 21 Jan 2008 02:28:21 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: josh@...edesktop.org
Cc: paulmck@...ux.vnet.ibm.com, shemminger@...tta.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: add sparse annotation to ptype_seq_start/stop
From: Josh Triplett <josh@...edesktop.org>
Date: Sun, 20 Jan 2008 23:29:32 -0800
> At the moment, Sparse doesn't actually use the context expression. In
> the ideal case when it does, all references to the same lock should
> use a context expression which resolves to that lock (whatever that
> may mean; hence why Sparse doesn't handle it yet). For mechanisms
> like RCU without a lock variable, this will likely entail some sort of
> fake lock expression, which again needs to match between all users of
> the same mechanism. Like any expression in C, case matters; thus,
> please match the existing references to "RCU" rather than "rcu".
Thus, I've checked in Stephen's patch with __acquires(RCU) and
__releases(RCU).
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists