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)
Wed, Oct 15, 6:13 AM
Unknown Object (File)
Sat, Oct 11, 4:37 PM
Unknown Object (File)
Sep 17 2025, 11:44 PM
Unknown Object (File)
Sep 14 2025, 11:59 AM
Unknown Object (File)
Sep 11 2025, 9:02 PM
Unknown Object (File)
Sep 10 2025, 10:48 PM
Unknown Object (File)
Sep 1 2025, 1:59 PM
Unknown Object (File)
Aug 17 2025, 2:20 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.