[PATCH] ppc64: SMT snooze fix in idle loop
From: Olof Johansson <olof@austin.ibm.com> A smt_snooze_delay of 0 is supposed to mean "disabled", but current idle loop logic doesn't take that into account and snoozes immediately instead. Below patch fixes the logic in the idle loop, as well as cleans up the test a bit. An idling processor might no longer see a snooze change immediately, but that's not needed anyway.
Showing
Please register or sign in to comment