Re: numastats updates

Christoph Lameter <[email protected]> Thu, 10 Apr 2014 20:48:04 -0500 (CDT)
Newsgroups org.kernel.vger.linux-numa,it.linux.lists.ltp
Message-ID <alpine.DEB.2.10.1404102046170.4702@nuc>
On Thu, 10 Apr 2014, Stanislav Kholmanskikh wrote:

> On 04/08/2014 10:03 PM, Christoph Lameter wrote:
> > On Tue, 8 Apr 2014, Stanislav Kholmanskikh wrote:
> >
> > > Forgot to mention. This eight-node system has 8k pages, two-node - 4k
> > > pages.
> >
> > So they are not x86? There are some counter races on !x86.
>
> Yes. This is Linux on SPARC.

Hmmm... I just got the infrastructure merged to define fast counter
updates. If we would define raw_cpu_ops for sparc then we could fix
the issue. Sparc has atomics that can increment a register relative to a
percpu base register right?