Page MenuHomeFreeBSD

In preparation for switching linuxulator to the use the native 1:1 threads split sys_sched_getparam(), sys_sched_setparam(), sys_sched_getscheduler(), sys_sched_setscheduler() to their kern_* counterparts and add targettd parameter to allow...
ClosedPublic

Authored by dchagin on Oct 31 2014, 6:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 11:00 AM
Unknown Object (File)
Sat, May 4, 10:57 AM
Unknown Object (File)
Sat, May 4, 10:55 AM
Unknown Object (File)
Sat, May 4, 10:29 AM
Unknown Object (File)
Sat, May 4, 10:12 AM
Unknown Object (File)
Sat, May 4, 9:28 AM
Unknown Object (File)
Sat, May 4, 9:20 AM
Unknown Object (File)
Sat, May 4, 9:15 AM
Subscribers

Details

Summary

...specify the target
thread directly by callee.

While here rename e to a better name error.

Diff Detail

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

Event Timeline

dchagin retitled this revision from to In preparation for switching linuxulator to the use the native 1:1 threads split sys_sched_getparam(), sys_sched_setparam(), sys_sched_getscheduler(), sys_sched_setscheduler() to their kern_* counterparts and add targettd parameter to allow....
dchagin updated this object.
trasz added inline comments.
sys/kern/p1003_1b.c
149 ↗(On Diff #2164)

I think it would be much nicer to have this function leave the lock as it is, ie move unlocking back to the caller. Same for similar cases below.

Unlock proc lock in the callers.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Dec 6 2014, 5:35 PM
dchagin edited edge metadata.

Process lock of the target thread should be owned, not a caller.

This revision now requires review to proceed.Jan 14 2015, 10:42 PM
trasz edited edge metadata.
This revision is now accepted and ready to land.Mar 15 2015, 12:26 PM
This revision was automatically updated to reflect the committed changes.