FreeBSD Bugzilla – Attachment 157247 Details for
Bug 200493
Killing pid 11 (idle) wedges the disk IO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Do not bump idle thread priority
1.patch (text/plain), 560 bytes, created by
Konstantin Belousov
on 2015-05-29 09:58:08 UTC
(
hide
)
Description:
Do not bump idle thread priority
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2015-05-29 09:58:08 UTC
Size:
560 bytes
patch
obsolete
>diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c >index b30e1ed..b140020 100644 >--- a/sys/kern/kern_sig.c >+++ b/sys/kern/kern_sig.c >@@ -2370,7 +2370,8 @@ tdsigwakeup(struct thread *td, int sig, sig_t action, int intrval) > * Bring the priority of a thread up if we want it to get > * killed in this lifetime. > */ >- if (action == SIG_DFL && (prop & SA_KILL) && td->td_priority > PUSER) >+ if (action == SIG_DFL && (prop & SA_KILL) != 0 && >+ td->td_priority > PUSER && !TD_IS_IDLETHREAD(td)) > sched_prio(td, PUSER); > if (TD_ON_SLEEPQ(td)) { > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200493
:
157247
|
157248