]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix TIF_POLLING_NRFLAG in ACPI idle routines
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 2 Dec 2005 01:44:19 +0000 (12:44 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 2 Dec 2005 22:20:21 +0000 (14:20 -0800)
commitd65d96319bdae21626b295a6c2cd5d9fb1d9ce12
tree226dd2569d657231a3c24d8228467a039ffc6681
parentfdcd1c16d2f6d0958a4b31c3b1a00bdd653fff3a
[PATCH] Fix TIF_POLLING_NRFLAG in ACPI idle routines

Commit 6f38ee2ebe42ecaf9128ab8513358faa5a4b175e broke the ACPI C2 and C3
sleep states, because it left TIF_POLLING_NRFLAG active even though
those states do not actually poll the reschedule flag at all.  As a
result, the CPU wouldn't get sent an IPI when it was to be woken up, and
would only notice that it had runnable processes on the next timer tick.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/processor_idle.c