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)
Sun, Jul 12, 2:22 PM
Unknown Object (File)
Sat, Jul 4, 7:22 AM
Unknown Object (File)
Fri, Jul 3, 6:03 AM
Unknown Object (File)
Fri, Jul 3, 4:29 AM
Unknown Object (File)
Wed, Jul 1, 4:20 AM
Unknown Object (File)
Jun 16 2026, 6:46 PM
Unknown Object (File)
May 14 2026, 5:01 PM
Unknown Object (File)
May 8 2026, 7:55 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