Page MenuHomeFreeBSD

sched: Simplify sched_lend_user_prio_cond()
ClosedPublic

Authored by olce on Feb 23 2024, 9:42 PM.
Tags
None
Referenced Files
F131820480: D44050.id134906.diff
Sat, Oct 11, 10:57 AM
F131820474: D44050.id.diff
Sat, Oct 11, 10:57 AM
F131820457: D44050.id135057.diff
Sat, Oct 11, 10:57 AM
F131781489: D44050.diff
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
Unknown Object (File)
Sep 10 2025, 7:26 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