mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
sched_ule: fix inverted condition in reporting of priority lending via ktr
Reviewed by: kan MFC after: 1 week
This commit is contained in:
parent
f2fb6260e5
commit
e87fc7cf7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240513
|
@ -1639,7 +1639,7 @@ sched_thread_priority(struct thread *td, u_char prio)
|
|||
"prio:%d", td->td_priority, "new prio:%d", prio,
|
||||
KTR_ATTR_LINKED, sched_tdname(curthread));
|
||||
SDT_PROBE3(sched, , , change_pri, td, td->td_proc, prio);
|
||||
if (td != curthread && prio > td->td_priority) {
|
||||
if (td != curthread && prio < td->td_priority) {
|
||||
KTR_POINT3(KTR_SCHED, "thread", sched_tdname(curthread),
|
||||
"lend prio", "prio:%d", td->td_priority, "new prio:%d",
|
||||
prio, KTR_ATTR_LINKED, sched_tdname(td));
|
||||
|
|
Loading…
Reference in a new issue