netdev
[Top] [All Lists]

Re: Route cache performance under stress

To: gandalf@xxxxxxxxxxxxxx
Subject: Re: Route cache performance under stress
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 22 May 2003 18:01:52 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <1053602138.9475.34.camel@tux.rsn.bth.se>
References: <20030522.015815.91322249.davem@redhat.com> <20030522.034058.71558626.davem@redhat.com> <1053602138.9475.34.camel@tux.rsn.bth.se>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
   Date: 22 May 2003 13:15:39 +0200

   On Thu, 2003-05-22 at 12:40, David S. Miller wrote:
   
   > +static unsigned long size_to_order(unsigned long size)
   
   Any reason you're not using get_order() ?

Actually, get_order() aparently only works on powers of
two, which 'size' is definitely not.

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