diff options
| author | Andrew Morton <[email protected]> | 2007-11-14 17:00:41 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-11-14 18:45:44 -0800 |
| commit | 35d5d08a085c56f153458c3f5d8ce24123617faf (patch) | |
| tree | 2db6e598e87809bc1ce7838861b2cff18e5fe60d /tools/perf/scripts/python | |
| parent | 7eea436433b7b18045f272562e256976f593f7c0 (diff) | |
x86: disable preemption in delay_tsc()
Marin Mitov points out that delay_tsc() can misbehave if it is preempted and
rescheduled on a different CPU which has a skewed TSC. Fix it by disabling
preemption.
(I assume that the worst-case behaviour here is a stall of 2^32 cycles)
Cc: Andi Kleen <[email protected]>
Cc: Marin Mitov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions