[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120313.002500.1677522047432496866.davem@davemloft.net>
Date: Tue, 13 Mar 2012 00:25:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zenczykowski@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: pfifo_fast - use ffs(x)-1 instead of array lookup
From: Maciej Żenczykowski <zenczykowski@...il.com>
Date: Tue, 13 Mar 2012 00:21:55 -0700
> If I understand correctly, you're suggesting to go with
>
> return ((26468 >> (i+i)) & 3) - 1;
>
> correct?
Yes, at least for now.
--
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