[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AC5C572.9040309@kernel.org>
Date: Fri, 02 Oct 2009 18:18:42 +0900
From: Tejun Heo <tj@...nel.org>
To: cl@...ux-foundation.org
CC: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
mingo@...e.hu, rusty@...tcorp.com.au,
Pekka Enberg <penberg@...helsinki.fi>
Subject: Re: [this_cpu_xx V4 02/20] this_cpu: X86 optimized this_cpu operations
cl@...ux-foundation.org wrote:
> Basically the existing percpu ops can be used for this_cpu variants that allow
> operations also on dynamically allocated percpu data. However, we do not pass a
> reference to a percpu variable in. Instead a dynamically or statically
> allocated percpu variable is provided.
>
> Preempt, the non preempt and the irqsafe operations generate the same code.
> It will always be possible to have the requires per cpu atomicness in a single
> RMW instruction with segment override on x86.
>
> 64 bit this_cpu operations are not supported on 32 bit.
>
> Signed-off-by: Christoph Lameter <cl@...ux-foundation.org>
Acked-by: Tejun Heo <tj@...nel.org>
--
tejun
--
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