Page MenuHomeFreeBSD

Implement a Linux version of sched_getparam() && sched_setparam(). Temporarily use the first thread in proc.
ClosedPublic

Authored by dchagin on Oct 31 2014, 6:24 AM.
Tags
None
Referenced Files
F122364574: D1036.id.diff
Fri, Jul 4, 4:53 PM
F122321838: D1036.id2166.diff
Fri, Jul 4, 8:39 AM
Unknown Object (File)
Thu, Jul 3, 6:20 AM
Unknown Object (File)
Thu, Jul 3, 3:24 AM
Unknown Object (File)
Thu, Jul 3, 12:00 AM
Unknown Object (File)
Mon, Jun 30, 8:26 PM
Unknown Object (File)
Mon, Jun 23, 10:34 PM
Unknown Object (File)
Wed, Jun 11, 9:32 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

dchagin retitled this revision from to Implement a Linux version of sched_getparam() && sched_setparam(). Temporarily use the first thread in proc..

Looks fine to me. Can you add an XXX comment on the FIRST_THREAD_IN_PROC to comment on what is desired instead.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Dec 5 2014, 10:34 AM

Hm, actually, looking at the diff this depends on, I'd prefer the callers (in this case, linux_sched_setparam() et al) to drop the proc lock, instead of kern_sched_setparam(). So, this might require some small changes.

dchagin edited edge metadata.

Unlock proc lock.

This revision now requires review to proceed.Dec 6 2014, 6:09 PM
dchagin edited edge metadata.

XXX comment added about Linux scheduleing.

trasz edited edge metadata.
This revision is now accepted and ready to land.Dec 8 2014, 10:17 AM
This revision was automatically updated to reflect the committed changes.