- Calling sched_nice() in tdsigwakeup() is no longer required by ULE and
actually causes LORs and other panics. Reported by: mlaier Approved by: re
This commit is contained in:
parent
74cfef5c88
commit
6eeb364b4c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171494
@ -2365,12 +2365,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)) {
|
||||
if (p->p_nice > 0)
|
||||
sched_nice(td->td_proc, 0);
|
||||
if (td->td_priority > PUSER)
|
||||
sched_prio(td, PUSER);
|
||||
}
|
||||
if (action == SIG_DFL && (prop & SA_KILL) && td->td_priority > PUSER)
|
||||
sched_prio(td, PUSER);
|
||||
|
||||
if (TD_ON_SLEEPQ(td)) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user