Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8f68e9f authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds
Browse files

[PATCH] x86-64: Fix idle=poll



x86_64 idle=poll might be a little less responsive than it should: unlike
mwait_idle, and unlike i386, its poll_idle left TIF_POLLING_NRFLAG set.

Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e99b861a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ static void poll_idle (void)
			: :
			"i" (_TIF_NEED_RESCHED), 
			"m" (current_thread_info()->flags));
		clear_thread_flag(TIF_POLLING_NRFLAG);
	} else {
		set_need_resched();
	}