lkml.org 
[lkml]   [2013]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V3 net-next] fib_trie: avoid a redundant bit judgement in inflate
From
From: baker.kernel@gmail.com
Date: Tue, 1 Oct 2013 07:45:09 +0800

> From: "baker.zhang" <baker.kernel@gmail.com>
>
> Because 'node' is the i'st child of 'oldnode',
> thus, here 'i' equals
> tkey_extract_bits(node->key, oldtnode->pos, oldtnode->bits)
>
> we just get 1 more bit,
> and need not care the detail value of this bits.
>
> I apologize for the mistake.
>
> I generated the patch on a branch version,
> and did not notice the put_child has been changed.
>
> I have redone the test on HEAD version with my patch.

Applied, thanks for testing things so thoroughly.


\
 
 \ /
  Last update: 2013-10-03 07:41    [W:0.047 / U:13.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site