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)
Tue, Jun 16, 6:46 PM
Unknown Object (File)
May 14 2026, 5:01 PM
Unknown Object (File)
May 8 2026, 7:55 PM
Unknown Object (File)
May 1 2026, 9:00 PM
Unknown Object (File)
Apr 25 2026, 10:45 AM
Unknown Object (File)
Apr 24 2026, 10:49 PM
Unknown Object (File)
Apr 24 2026, 8:25 AM
Unknown Object (File)
Apr 20 2026, 10:23 PM
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