diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-12-07 02:14:13 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:13 +0100 |
commit | d331e739f5ad2aaa9d8553891ba6ca823bdbce37 (patch) | |
tree | 5da7042a022dd119c9b920ceb4101e7203bccb44 /net/ipv6 | |
parent | a0429d0d7a6116dedcb71d9128da904bf135f189 (diff) |
[PATCH] x86-64: Fix interrupt race in idle callback (3rd try)
Idle callbacks has some races when enter_idle() sets isidle and subsequent
interrupts that can happen on that CPU, before CPU goes to idle. Due to this,
an IDLE_END can get called before IDLE_START. To avoid these races, disable
interrupts before enter_idle and make sure that all idle routines do not
enable interrupts before entering idle.
Note that poll_idle() still has a this race as it has to enable interrupts
before going to idle. But, all other idle routines have the race fixed.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions