[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110228103637.GA11045@htj.dyndns.org>
Date: Mon, 28 Feb 2011 11:36:37 +0100
From: Tejun Heo <tj@...nel.org>
To: Christoph Lameter <cl@...ux.com>
Cc: akpm@...ux-foundation.org, Pekka Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org,
Eric Dumazet <eric.dumazet@...il.com>,
"H. Peter Anvin" <hpa@...or.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Subject: Re: [cpuops cmpxchg double V3 0/5] this_cpu_cmpxchg_double support
On Fri, Feb 25, 2011 at 11:38:50AM -0600, Christoph Lameter wrote:
> This patch series introduces this_cpu_cmpxchg_double().
>
> x86 cpus support cmpxchg16b and cmpxchg8b instuction which are capable of
> switching two words instead of one during a cmpxchg.
> Two words allow to swap more state in an atomic instruction.
>
> this_cpu_cmpxchg_double() is used in the slub allocator to avoid
> interrupt disable/enable in both alloc and free fastpath.
> Using the new operation significantly speeds up the fastpaths.
Pekka, Christoph, I applied the third and fifth patches to the percpu
tree. Please feel free to pull from the following branch and apply
slub changes on top of it.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-2.6.39
HEAD is b9ec40af0e18fb7d02106be148036c2ea490fdf9. As git.korg seems a
bit slow to sync these days, it may be better to pull from
master.korg.
ssh://master.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-2.6.39
Thank you.
--
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