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)
Sat, Oct 11, 7:57 PM
Unknown Object (File)
Sat, Oct 11, 10:57 AM
Unknown Object (File)
Sat, Oct 11, 10:57 AM
Unknown Object (File)
Sat, Oct 11, 10:57 AM
Unknown Object (File)
Sat, Oct 11, 3:00 AM
Unknown Object (File)
Tue, Oct 7, 12:08 PM
Unknown Object (File)
Fri, Sep 26, 8:21 PM
Unknown Object (File)
Sat, Sep 20, 12:19 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