Page MenuHomeFreeBSD

sched: Simplify sched_lend_user_prio_cond()
ClosedPublic

Authored by olce on Feb 23 2024, 9:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 3:43 AM
Unknown Object (File)
Fri, Apr 26, 3:39 AM
Unknown Object (File)
Mar 4 2024, 3:23 AM
Unknown Object (File)
Feb 27 2024, 10:59 AM
Subscribers

Details

Summary

If 'td_lend_user_pri' has the expected value, there is no need to check
the fields that sched_lend_user_prio() modifies, they either are already
good or soon will be ('td->td_lend_user_pri' has just been changed by
a concurrent update).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable