Re: [PATCH net-next] fib_trie: only calc for the un-first node

From: David Miller
Date: Thu Oct 10 2013 - 00:17:32 EST


From: baker.kernel@xxxxxxxxx
Date: Tue, 8 Oct 2013 11:36:51 +0800

> From: "baker.zhang" <baker.kernel@xxxxxxxxx>
>
> 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@xxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/