diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-01-26 15:38:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-02-03 12:15:46 +0100 |
commit | 542e72fc90f5ed9eecb574f80f70868c7f296093 (patch) | |
tree | b42abb2d44ed771759eee63ce00378df02d689ca /drivers/net/sgiseeq.c | |
parent | watchdog: Don't change watchdog state on read of sysctl (diff) | |
download | linux-542e72fc90f5ed9eecb574f80f70868c7f296093.tar.xz linux-542e72fc90f5ed9eecb574f80f70868c7f296093.zip |
perf: Fix reading in perf_event_read()
It is quite possible for the event to have been disabled between
perf_event_read() sending the IPI and the CPU servicing the IPI and
calling __perf_event_read(), hence revalidate the state.
Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/net/sgiseeq.c')
0 files changed, 0 insertions, 0 deletions