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)
Tue, Sep 29, 5:05 PM
Unknown Object (File)
Thu, Sep 24, 3:46 PM
Unknown Object (File)
Wed, Sep 23, 3:44 PM
Unknown Object (File)
Mon, Sep 21, 6:54 PM
Unknown Object (File)
Fri, Sep 18, 7:56 PM
Unknown Object (File)
Fri, Sep 18, 12:24 AM
Unknown Object (File)
Thu, Sep 17, 11:07 PM
Unknown Object (File)
Sat, Sep 5, 2:12 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.