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)
Dec 9 2024, 4:42 AM
Unknown Object (File)
Dec 7 2024, 3:22 PM
Unknown Object (File)
Dec 1 2024, 12:22 AM
Unknown Object (File)
Nov 25 2024, 6:30 AM
Unknown Object (File)
Nov 24 2024, 7:34 PM
Unknown Object (File)
Nov 23 2024, 4:22 PM
Unknown Object (File)
Nov 22 2024, 5:25 PM
Unknown Object (File)
Nov 11 2024, 4:21 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