aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.txt
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2011-06-01 13:31:44 +0000
committerRobert Richter <[email protected]>2011-06-15 12:31:29 +0000
commit8fe7e94eb71430cf63a742f3c19739d82a662758 (patch)
treedb624be62586a59c5f3954bf7c8c9188fa58d819 /Documentation/filesystems/caching/netfs-api.txt
parentLinux 3.0-rc3 (diff)
downloadkernel-8fe7e94eb71430cf63a742f3c19739d82a662758.tar.gz
kernel-8fe7e94eb71430cf63a742f3c19739d82a662758.zip
oprofile, x86: Fix race in nmi handler while starting counters
In some rare cases, nmis are generated immediately after the nmi handler of the cpu was started. This causes the counter not to be enabled. Before enabling the nmi handlers we need to set variable ctr_running first and make sure its value is written to memory. Also, the patch makes all existing barriers a memory barrier instead of a compiler barrier only. Reported-by: Suravee Suthikulpanit <[email protected]> Cc: <[email protected]> # .35+ Signed-off-by: Robert Richter <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.txt')
0 files changed, 0 insertions, 0 deletions