[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <00000140e431ded7-d71fb5bf-5a5c-418f-83e5-0e6e2f2fea9d-000000@email.amazonses.com>
Date: Tue, 3 Sep 2013 14:20:08 +0000
From: Christoph Lameter <cl@...ux.com>
To: David Howells <dhowells@...hat.com>
cc: Tejun Heo <tj@...nel.org>, akpm@...uxfoundation.org,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-arch@...r.kernel.org, Steven Rostedt <srostedt@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [guv v2 04/31] net: Replace __get_cpu_var uses
On Mon, 2 Sep 2013, David Howells wrote:
> Would it be possible to use __thread annotations for per-CPU variables, I
> wonder?
We already have a __percpu annotation. Looked at __thread a couple of
years ago but found that support for the kernel segment register was not
available. If we had __thread then most of the operations could simply be
provided by the compiler.
--
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