[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326384875.2950.25.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Thu, 12 Jan 2012 17:14:35 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jan Engelhardt <jengelh@...ozas.de>
Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Josh Triplett <josh@...htriplett.org>, laijs@...fujitsu.com,
manfred@...orfullife.com, dhowells@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rcu: avoid checking for constant
Le jeudi 12 janvier 2012 à 17:08 +0100, Jan Engelhardt a écrit :
> Maybe, maybe naah. The kernel relying on gcc's -O2 mode to do constant
> value analysis through and into inline functions does not sound too
> great. The compiler could change on the next moonphase. In fact, one
> can't use clang -O2 because of this. With my patch, one can again use
> clang -O2 [with respect to kfree_rcu].
Unless whole kernel can be compiled with -O0, its really some noise.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists