[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110124.233057.115949202.davem@davemloft.net>
Date: Mon, 24 Jan 2011 23:30:57 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xiaosuo@...il.com
Cc: kuznet@....inr.ac.ru, pekkas@...core.fi, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] net: remove tests on 64bit platforms
From: Changli Gao <xiaosuo@...il.com>
Date: Tue, 25 Jan 2011 12:21:38 +0800
> On 64bit platforms, >31 bit shifting of a unsigned long variable is
> valid, so we can remove the related boundary tests, which may slow
> down the CPU if branch prediction fails.
The key word is "may", you don't actually know if this kind of
change actually matters for performance in practice.
I'm not applying this.
--
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