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)
Tue, Oct 7, 12:08 PM
Unknown Object (File)
Fri, Sep 26, 8:21 PM
Unknown Object (File)
Sat, Sep 20, 12:19 AM
Unknown Object (File)
Sep 10 2025, 7:26 AM
Unknown Object (File)
Sep 4 2025, 9:37 AM
Unknown Object (File)
Sep 4 2025, 9:22 AM
Unknown Object (File)
Aug 30 2025, 5:51 PM
Unknown Object (File)
Aug 30 2025, 2:15 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