[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120807.145533.2161378343227639185.davem@davemloft.net>
Date: Tue, 07 Aug 2012 14:55:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: force dst_default_metrics to const section
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Tue, 7 Aug 2012 21:15:27 +0100
> Some day the compiler may be smart enough to ignore the different
> between explicit and implicit zero-initialisation, and put it back in
> BSS. Declaring this __cache_aligned_in_smp might be a better option.
I'm surprised it doesn't already do this.
It definitely puts scalar explicit zero initializers into the BSS.
--
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