STRUCT TMIGR_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct tmigr_event(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct tmigr_event, and it's literally the little timer event that's glued to a CPU. no cap, that's the whole vibe of the NAME section: a timer event associated to a CPU. πŸŽ€


✨ SYNOPSIS ✨

struct tmigr_event {
    struct timerqueue_node  nextevt;
    unsigned int            cpu;
    bool ignore;
 };

that's it, that's the struct 🫢 three members, zero drama. let's get into them πŸ’…


🌸 Members 🌸

  • nextevt β€” this is the node you use to enqueue an event into the parent group queue. think of it as the event's little hand waving in the group chat like "hi i'm here, put me in the queue" 😭
  • cpu β€” the CPU this event belongs to. it's an unsigned int, and yes it's fr fr just which CPU is this event's home. every event has a CPU and that's that πŸ¦‹
  • ignore β€” a lil hint about whether the event could be ignored. it gets set when the CPU or the group is active. so it's giving "hey maybe skip me" energy, not a hard guarantee πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./kernel/time/timer_migration.h
  • struct tmigr_hierarchy(9)
  • struct tmigr_group(9)
  • struct tmigr_cpu(9)
  • union tmigr_state(9)

like go read the whole tmigr cinematic universe, they all link up, iykyk 🌈


ngl bestie, this page is short but it's load-bearing β€” if you mess with these members, the timer migration machinery will absolutely notice πŸ’€

and that's the whole page! πŸŽ€ brought to you by ./kernel/time, dated October 2026, from the Kernel API Manual itself β€” slay, bye bestie πŸ’–πŸ§šβœ¨

πŸ“¦ where this page comes from