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
F108324172: D1034.id2664.diff
Thu, Jan 23, 9:09 PM
Unknown Object (File)
Sat, Jan 18, 3:06 PM
Unknown Object (File)
Thu, Jan 9, 3:24 AM
Unknown Object (File)
Wed, Jan 8, 9:23 PM
Unknown Object (File)
Dec 18 2024, 4:10 AM
Unknown Object (File)
Dec 18 2024, 3:22 AM
Unknown Object (File)
Nov 28 2024, 12:51 PM
Unknown Object (File)
Nov 28 2024, 12:51 PM
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.