summaryrefslogtreecommitdiffstats
path: root/Documentation/PCI
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-03-30 19:07:03 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-06 09:30:37 +0200
commit38ff667b321b00f5e6830e93fb4ab11a653a2920 (patch)
tree37c24148228d978824a014899f4984072da4e077 /Documentation/PCI
parent925d519ab82b6dd7aca9420d809ee83819c08db2 (diff)
downloadtalos-obmc-linux-38ff667b321b00f5e6830e93fb4ab11a653a2920.tar.gz
talos-obmc-linux-38ff667b321b00f5e6830e93fb4ab11a653a2920.zip
perf_counter: fix update_userpage()
It just occured to me it is possible to have multiple contending updates of the userpage (mmap information vs overflow vs counter). This would break the seqlock logic. It appear the arch code uses this from NMI context, so we cannot possibly serialize its use, therefore separate the data_head update from it and let it return to its original use. The arch code needs to make sure there are no contending callers by disabling the counter before using it -- powerpc appears to do this nicely. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Paul Mackerras <paulus@samba.org> Orig-LKML-Reference: <20090330171023.241410660@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud