aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2011-06-01 15:31:44 +0200
committerRobert Richter <[email protected]>2011-06-15 14:31:29 +0200
commit8fe7e94eb71430cf63a742f3c19739d82a662758 (patch)
treedb624be62586a59c5f3954bf7c8c9188fa58d819 /net/lapb/lapb_timer.c
parent2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff)
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions