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)
Jan 19 2025, 3:26 PM
Unknown Object (File)
Jan 5 2025, 6:40 AM
Unknown Object (File)
Nov 15 2024, 11:49 AM
Unknown Object (File)
Oct 30 2024, 6:15 PM
Unknown Object (File)
Oct 3 2024, 8:58 AM
Unknown Object (File)
Oct 3 2024, 8:58 AM
Unknown Object (File)
Oct 3 2024, 8:55 AM
Unknown Object (File)
Sep 24 2024, 5:08 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.