Files
linux-st/include/linux
Peter Zijlstra a2e87d06dd perf_counter: update mmap() counter read, take 2
Update the userspace read method.

Paul noted that:
 - userspace cannot observe ->lock & 1 on the same cpu.
 - we need a barrier() between reading ->lock and ->index
   to ensure we read them in that prticular order.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090406094517.368446033@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-04-07 10:48:54 +02:00
..
2009-04-05 00:32:22 +02:00
2009-04-05 02:14:15 -04:00
2009-04-03 14:53:32 -07:00
2009-04-03 14:53:32 -07:00
2009-04-03 09:48:29 -07:00
2009-04-02 19:04:53 -07:00
2009-04-02 19:04:49 -07:00
2009-04-02 19:04:48 -07:00
2009-04-06 09:30:26 +02:00
2009-04-03 16:42:35 +01:00
2009-04-02 19:05:01 -07:00