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
Unknown Object (File)
Sat, Sep 5, 2:12 PM
Unknown Object (File)
Sat, Sep 5, 12:25 PM
Unknown Object (File)
Wed, Sep 2, 11:49 PM
Unknown Object (File)
Mon, Aug 31, 10:07 PM
Unknown Object (File)
Mon, Aug 31, 12:12 PM
Unknown Object (File)
Sat, Aug 29, 10:25 PM
Unknown Object (File)
Thu, Aug 27, 9:47 PM
Unknown Object (File)
Tue, Aug 25, 6:03 AM

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.