netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: Route cache performance under stress
From: Andi Kleen <ak@xxxxxxx>
Date: Fri, 23 May 2003 11:03:01 +0200
Cc: gandalf@xxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20030523.012205.123984853.davem@xxxxxxxxxx>
References: <1053602138.9475.34.camel@xxxxxxxxxxxxxx> <20030522.180152.15252868.davem@xxxxxxxxxx> <20030523102113.4fe38159.ak@xxxxxxx> <20030523.012205.123984853.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 23 May 2003 01:22:05 -0700 (PDT)
"David S. Miller" <davem@xxxxxxxxxx> wrote:


> I believe you.
> 
> Then what does that comment above it mean? :-)

I guess it refers to the implementation, not the code.

For pure 2^n you could implement it much more efficiently using ffz()
(not that it really matters of course, most orders are 0)

-Andi


<Prev in Thread] Current Thread [Next in Thread>