STRUCT RSEQ_DATA(9)
π¦ struct rseq_data(9) π¦
okay so this is a page from the Kernel API Manual and it's literally all about struct rseq_data β the storage home for every single rseq-related thing. think of it as the group chat where rseq keeps all its stuff π
β¨ NAME β¨
struct rseq_data β storage for all rseq related data. that's it, that's the vibe, no cap π
β¨ SYNOPSIS β¨
bestie, here's the whole struct, laid out exactly how the kernel likes it:
struct rseq_data {
struct rseq __user *usrptr;
u32 len;
u32 sig;
struct rseq_event event;
struct rseq_ids ids;
#ifdef CONFIG_RSEQ_SLICE_EXTENSION;
struct rseq_slice slice;
#endif;
};
ok notice the slice member is living behind a #ifdef CONFIG_RSEQ_SLICE_EXTENSION; gate β so it only shows up when that config is on. conditional icon behavior, we love to see it π«Ά
β¨ Members β¨
every member gets its moment, as it should π₯
usrptrβ pointer to the registered user space RSEQ memory. yes it's astruct rseq __user *, so it's pointing into userspace, treat it with the respect it deserves πlenβ length of the RSEQ region. au32, keeping it tight.sigβ signature of critical section abort IPs. it's the little fingerprint that says "this is where we bail out" πeventβ storage for event management. astruct rseq_event, holding all the event-related everything.idsβ storage for cached CPU ID and MM CID. astruct rseq_ids, caching both so you don't have to go hunting πΈsliceβ storage for time slice extension data. astruct rseq_slice, and remember: this one only exists ifCONFIG_RSEQ_SLICE_EXTENSIONis compiled in π
β¨ SEE ALSO β¨
the whole friend group, fr fr β kernel file ./include/linux/rseq_types.h, plus struct rseq_event(9), struct rseq_ids(9), union rseq_slice_state(9), struct rseq_slice(9), struct sched_mm_cid(9), struct mm_cid_pcpu(9), and struct mm_mm_cid(9). go say hi, they're all iconique in their own way π
ngl, if you're poking at any of these structs, read the others too β they're all defined right there in ./include/linux/rseq_types.h and they genuinely make more sense as a set π§
that's the whole page bestie, go forth and rseq π
β signed off from ./include/linux, dated October 2026, filed under struct rseq_data(9) β¨ 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