Re: [guv v2 04/31] net: Replace __get_cpu_var uses
From: Christoph Lameter <hidden>
Date: 2013-09-03 14:27:13
Also in:
linux-arch, lkml
From: Christoph Lameter <hidden>
Date: 2013-09-03 14:27:13
Also in:
linux-arch, lkml
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.