[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHo-OoyWH9v+D7yJp3sAKnmUEp_DiTeDhmgPme2dGoqWGa2qjg@mail.gmail.com>
Date: Tue, 13 Mar 2012 00:23:27 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: pfifo_fast - use ffs(x)-1 instead of array lookup
I was actually leaning towards going with ffs()-1, since
it's excellent on x86-64
good on x86_cmov
decent on x86
good on armv5+
and I'm guessing it'll be good or better on any modern platform
--
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