Page MenuHomeFreeBSD

Fix a recursion in thread_create().
ClosedPublic

Authored by jeff on Feb 3 2020, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 5:10 PM
Unknown Object (File)
Mon, Aug 10, 5:10 PM
Unknown Object (File)
Mon, Aug 10, 5:10 PM
Unknown Object (File)
Thu, Jul 30, 6:37 AM
Unknown Object (File)
Jul 12 2026, 2:22 PM
Unknown Object (File)
Jul 4 2026, 7:22 AM
Unknown Object (File)
Jul 3 2026, 6:03 AM
Unknown Object (File)
Jul 3 2026, 4:29 AM
Subscribers

Details

Summary

I'm not even sure who to ask about this one. This was a bug as a result of removing recursion from thread_lock(). It looks like the sched_prio() is not really necessary as rtp will do it in the important cases but it may miss setting user_pri until the first userret. I don't think this is a problem.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable