[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1602161010280.3986@east.gentwo.org>
Date: Tue, 16 Feb 2016 10:10:55 -0600 (CST)
From: Christoph Lameter <cl@...ux.com>
To: Konstantin Khlebnikov <koct9i@...il.com>
cc: Tejun Heo <tj@...nel.org>, linux-arch <linux-arch@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH RFC] Introduce atomic and per-cpu add-max and sub-min
operations
On Sun, 14 Feb 2016, Konstantin Khlebnikov wrote:
> Yep, they are just abstraction around cmpxchg, as well as a half of atomic
> operations. Probably some architectures could implement this differently.
Ok then use this_cpu_cmpxchg and cmpxchg to implement it instead?
Powered by blists - more mailing lists