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)
Wed, Oct 1, 11:35 AM
Unknown Object (File)
Sat, Sep 13, 5:41 AM
Unknown Object (File)
Sep 9 2025, 12:14 AM
Unknown Object (File)
Aug 15 2025, 5:36 AM
Unknown Object (File)
Aug 12 2025, 9:14 AM
Unknown Object (File)
Aug 6 2025, 11:01 PM
Unknown Object (File)
Aug 3 2025, 10:56 PM
Unknown Object (File)
Jul 5 2025, 11:44 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