Page MenuHomeFreeBSD

PR240990: linux: handle the CLOCK_{PROCESS,THREAD}_CPUTIME_ID specified directly
AbandonedPublic

Authored by dchagin on Oct 18 2019, 9:42 AM.
Tags
None
Referenced Files
F152237178: D22075.id63434.diff
Mon, Apr 13, 2:53 PM
Unknown Object (File)
Sat, Apr 11, 9:59 PM
Unknown Object (File)
Fri, Apr 10, 2:23 PM
Unknown Object (File)
Fri, Apr 10, 5:09 AM
Unknown Object (File)
Wed, Apr 8, 9:55 PM
Unknown Object (File)
Wed, Apr 8, 4:48 PM
Unknown Object (File)
Sat, Apr 4, 3:46 AM
Unknown Object (File)
Fri, Mar 20, 2:28 PM

Details

Reviewers
yuripv
Group Reviewers
emulation
Summary

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240990

Handle the most obvious case of CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clocks specified directly, using LINUX_CPU_SCHED (that is, kern_clock_gettime()).

Test Plan

Run the test case attached to the PR compiled natively, under linux emulation, and on Debian GNU/Linux (system specs are identical), all results are nearly the same.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Ping? Is there anything left to do here before committing? Did you have a chance to test it with LTP (linux-c7-ltp package)?

dchagin abandoned this revision.
dchagin edited reviewers, added: yuripv; removed: dchagin.