[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090519.011838.08723886.davem@davemloft.net>
Date: Tue, 19 May 2009 01:18:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: jarkao2@...il.com, vexwek@...il.com, netdev@...r.kernel.org,
kaber@...sh.net, devik@....cz
Subject: Re: [PATCH] pkt_sched: gen_estimator: use 64 bits intermediate
counters for bps
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 19 May 2009 09:31:36 +0200
> Apparently gcc does the *right* thing on x86_32, but we probably
> want something stronger here. I could not find gcc documentation
> statement on right shifts of negative values.
It emits an "arithmetic shift right" for every CPU I've ever checked.
--
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