Changes

Jump to: navigation, search

Time namespace

70 bytes removed, 04:43, 23 April 2020
no edit summary
Two things (for now) we want The time namespace support has been merged in the 5.6 kernel. The current implementation allows setting per-namespace offsets to solve with this:# Shift timer's offsets# Make startthe system monotonic and boot-time remain "unchanged" after C/R# Continuous flow of monotonic time (CLOCK_MONOTONIC)clocks.
What about other kinds of counters like perf events and trace events?[https://github.com/checkpoint-restore/criu/pull/1002 The time namespace support] in CRIU has been merged in the [[Download/criu/3.14 | 3.14 release]].
=TODO=
==Required in RFCMaybe later==
* selftests to test all we've added* TIME_NS iffdefery everywhere  ==Maybe later==* CLONE_NEWTIME reuses the last free flag from sys_clone() Make start- any way to still keep extensibility for the syscall?time remain "unchanged" after C/R
* arm64/arm32/s390/power64 - add archs vvar support (nit: big/little-endianess for timespec::nsec)
* REALTIME-related:
** mq_timedsend()/mq_timedreceive()
** semtimedop()
** timerfd
** timer_create()
** COARSE times
** clock_nanosleep()
* Adjtime (too complicated for PoC)
* Cpu time for thread/pid/pgid (times())
* pid creation time (probably different unrelated API)
* clock_tai - if we care about isolation from host's time
* What about other kinds of counters like perf events and trace events?
=Git=

Navigation menu