[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070726101517.01bfca6b@oldman.hamilton.local>
Date: Thu, 26 Jul 2007 10:15:17 +0100
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Adrian Bunk <bunk@...sta.de>,
Robert Olsson <Robert.Olsson@...a.slu.se>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Ingo Molnar <mingo@...e.hu>, Josh Triplett <josh@...nel.org>,
netdev@...r.kernel.org
Subject: Re: [RFT] fib_trie: cleanup
On Thu, 26 Jul 2007 02:04:31 -0700
Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Thu, 26 Jul 2007 09:46:48 +0100 Stephen Hemminger <shemminger@...ux-foundation.org> wrote:
>
> > Try this out:
> > * replace macro's with inlines
> > * get rid of places doing multiple evaluations of NODE_PARENT
>
> And it fixes the rcu abuse which resulted in
> http://lkml.org/lkml/2007/7/25/319. Which I assume is what inspired the
> effort.
>
>
> your typecasting style is inconsistent:
>
> > + return rcu_dereference((struct tnode *) (node->parent & ~NODE_TYPE_MASK));
>
> space
I have a couple of followon cleanup patches, one of them is whitespace demunging
-
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