[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131010.001722.880038875298978753.davem@davemloft.net>
Date: Thu, 10 Oct 2013 00:17:22 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: baker.kernel@...il.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] fib_trie: only calc for the un-first node
From: baker.kernel@...il.com
Date: Tue, 8 Oct 2013 11:36:51 +0800
> From: "baker.zhang" <baker.kernel@...il.com>
>
> This is a enhancement.
>
> for the first node in fib_trie, newpos is 0, bit is 1.
> Only for the leaf or node with unmatched key need calc pos.
>
> Signed-off-by: baker.zhang <baker.kernel@...il.com>
The compiler is probably doing this transformation all by itself,
but applied anyways, thanks.
--
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