[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120828.145612.2276726060621764585.davem@davemloft.net>
Date: Tue, 28 Aug 2012 14:56:12 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: igorm@....rs
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: ipv4: optimize tkey_mismatch
From: igorm@....rs
Date: Tue, 28 Aug 2012 10:52:18 +0200
> From: Igor Maravic <igorm@....rs>
>
> Optimize tkey_mismatch function by using __fls function.
>
> Signed-off-by: Igor Maravic <igorm@....rs>
This will actually run slower on architectures like sparc that
don't have special instructions for __fls.
Your TOS "optimization" isn't very useful either since having
TOS routes is very rare.
--
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