Messages in this thread | | | Date | Fri, 8 May 2015 11:52:55 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: Question about barriers for ARM on tools/perf/ |
| |
Em Fri, May 08, 2015 at 11:37:29AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, May 08, 2015 at 04:25:13PM +0200, Peter Zijlstra escreveu: > > He wants to do smp refcounting, which needs atomic_inc() / > > atomic_inc_non_zero() / atomic_dec_return() etc..
> Right, Will concentrated on what we use those barriers for right now in > tools/perf.
So, for reference, and this just moves what was already in tools/perf/perf-sys.h to a place that is named as the kernel is and when what was used in perf-sys.h is the same as in the kernel, uses the same kernel source excerpts:
https://git.kernel.org/cgit/linux/kernel/git/acme/linux.git/log/?h=tmp.perf/barrier
- Arnaldo
| |