projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99b861
)
[PATCH] x86-64: Fix idle=poll
author
Hugh Dickins
<hugh@veritas.com>
Mon, 12 Sep 2005 16:49:24 +0000
(18:49 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 12 Sep 2005 17:50:55 +0000
(10:50 -0700)
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: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/process.c
b/arch/x86_64/kernel/process.c
index b19cee6a12e6ca529cc09921f2320586da752ced..e9f35c60f8c6f1bf47443143653beccfbcac3fb7 100644
(file)
--- a/
arch/x86_64/kernel/process.c
+++ b/
arch/x86_64/kernel/process.c
@@
-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();
}