aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/math-emu
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-09-22 20:30:14 +1000
committerPaul Mackerras <paulus@samba.org>2006-09-26 15:24:34 +1000
commit0ddd3e7d07d6adc4e905ee869a85db5184a02c17 (patch)
tree9dbab98d6aa3093cd24e8ed331559444e230c32a /arch/powerpc/math-emu
parente12514650b167f48e952d50315fd492d01d42988 (diff)
[POWERPC] Always call cede in pseries dedicated idle loop
The smt_snooze_delay logic changed a bit when the idle loops were consolidated. A value of 0 used to mean we always polled, now it means we always sleep. Instead of restoring the old behaviour, lets put a reasonable default in smt_snooze_delay. This means we spin for a bit (in case an external interrupt comes in) and then sleep. Also the pseries dedicated idle loop currently does not cede both threads in an SMT pair. The hypervisor wants us to call in so it can power manage, so lets do that. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/math-emu')
0 files changed, 0 insertions, 0 deletions