Now that we can tolerate LPAR context switches on the PS3 hypervisor, going

to hypervisor-idle on both threads will not hang the kernel.
This commit is contained in:
Nathan Whitehorn 2012-01-15 16:57:18 +00:00
parent f7f2907a7e
commit 6e3a3fe377

View File

@ -247,16 +247,6 @@ ps3_real_maxaddr(platform_t plat)
static void
ps3_cpu_idle(void)
{
static volatile int pausing = 0;
/*
* XXX: It appears that the PS3 can livelock if both threads
* call lv1_pause(0) simultaneously.
*/
if (!atomic_cmpset_int(&pausing, 0, 1))
return;
lv1_pause(0);
pausing = 0;
}