lkml.org 
[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 5/8] x86: use this_cpu_xxx to replace percpu_xxx funcs

* Andrew Morton <akpm@linux-foundation.org> wrote:

> On Tue, 6 Mar 2012 08:46:01 +0100 Ingo Molnar <mingo@elte.hu> wrote:
>
> > Will percpu_write() be removed altogether? If so then the
> > changelog should say *that*, and explain that on x86 this is a
> > simple renaming of the API, not a long explanation about
> > scenarios that don't actually matter.
> >
> > If percpu_write() is not being removed then I don't see how this
> > patch is an improvement: it's supposed to result in the same
> > instructions being emitted, and __this_cpu_write() et al are
> > distinctly longer to write ...
> >
> > So what's the plan here?
>
> All percpu_xxx() functions get removed.

Fair enough - then please see my namespace comments for the
other patch, before we start spreading these APIs to hundreds of
places ...

Also, IMHO the lack of debugging API is troubling as well.
Thomas found a couple of really, really hairy this_cpu related
bugs.

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-03-06 09:01    [W:0.039 / U:2.464 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site