ENUM UM_TIMETRAVEL_OPS(9)
π enum um_timetravel_ops β Operation codes π
okay so bestie, welcome to the Kernel API Manual page for enum um_timetravel_ops β yes it's a whole enum of time-travel operation codes and yes it's iconic π
like, the kernel literally has a time machine and these are the buttons on it, iykyk β¨
β¨ SYNOPSIS β¨
enum um_timetravel_ops {
UM_TIMETRAVEL_ACK ,
UM_TIMETRAVEL_START ,
UM_TIMETRAVEL_REQUEST ,
UM_TIMETRAVEL_WAIT ,
UM_TIMETRAVEL_GET ,
UM_TIMETRAVEL_UPDATE ,
UM_TIMETRAVEL_RUN ,
UM_TIMETRAVEL_FREE_UNTIL ,
UM_TIMETRAVEL_GET_TOD ,
UM_TIMETRAVEL_BROADCAST
};
π Constants π
So here's the whole cast of characters, one by one, no skips, no cap π«Ά
UM_TIMETRAVEL_ACKβ the response (ACK) to any previous message. It usually doesn't carry any data in the'time'field unless otherwise specified below. Note note note: while using shared memory there's no ACK forWAITandRUNmessages, and for more info you gotta seestruct um_timetravel_schedshmπUM_TIMETRAVEL_STARTβ initialize the connection. Thetimefield contains an (arbitrary) ID so you can possibly tell the connections apart from each other π¦UM_TIMETRAVEL_REQUESTβ a request to run at the given time (host -> calendar) β°UM_TIMETRAVEL_WAITβ says "I'm waiting for the previously requested runtime", and new requests may be made while waiting (e.g. due to interrupts); thetimefield is ignored. The calendar must process this message and later send aUM_TIMETRAVEL_RUNmessage when the host can run again. (host -> calendar) π§UM_TIMETRAVEL_GETβ return the current time from the calendar in theACKmessage; the time in the request message is ignored (host -> calendar) βUM_TIMETRAVEL_UPDATEβ a time update to the calendar, and it must be sent e.g. before kicking an interrupt to another calendar (host -> calendar) π₯UM_TIMETRAVEL_RUNβ the run time request got granted, and the current time is in thetimefield (calendar -> host) πUM_TIMETRAVEL_FREE_UNTILβ enable free-running until the given time. This one's a message from the calendar telling the host it can freely do its own scheduling for anything before the indicated time. Heads up though: if a calendar sends this message once, the host may assume that it will also do so in the future, if it implements wraparound semantics for thetimefield. (calendar -> host) πΈUM_TIMETRAVEL_GET_TODβ return time of day, typically used once at boot by the virtual machines to get a synchronized time from the simulation π°οΈUM_TIMETRAVEL_BROADCASTβ send/receive a broadcast message. This message can be used to sync all components in the system with a single message: if the calendar gets the message, the calendar broadcasts the message to all components, and if a component receives it, it should act based on it, e.g. print a message to its log system. (calendar <-> host) π£
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/um_timetravel.hstruct um_timetravel_msg(9) enum um_timetravel_shared_mem_fds(9)enum um_timetravel_start_ack(9)enum um_timetravel_schedshm_cap(9)enum um_timetravel_schedshm_flags(9)Time travel shared memory overview(9)union um_timetravel_schedshm_client(9)struct um_timetravel_schedshm(9)
okay that's the whole page, you ate that π this one lives in ./include/uapi/linux and it's dated October 2026 β go forth and time travel responsibly, bestie, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms