Lunatik

linux.scxModule

Linux kernel constants exposed under linux.scx.

Values are populated at build time from the kernel headers.

Usage

local scx = require("linux.scx")

Tables

dsq sched_ext dispatch queues an scx callback returns (LOCAL_ON ORed with a CPU), from 6.12 on.
slice sched_ext time slices in nanoseconds an scx callback returns, from 6.12 on.

Tables in detail

dsq
sched_ext dispatch queues an scx callback returns (LOCAL_ON ORed with a CPU), from 6.12 on. Mirrors SCX_DSQ_* defines in <linux/sched/ext.h>. Keys are the kernel names with the prefix stripped: SCX_DSQ_<NAME> is linux.scx.dsq.<NAME>. Empty on a kernel without <linux/sched/ext.h>.
slice
sched_ext time slices in nanoseconds an scx callback returns, from 6.12 on. Mirrors SCX_SLICE_* defines in <linux/sched/ext.h>. Keys are the kernel names with the prefix stripped: SCX_SLICE_<NAME> is linux.scx.slice.<NAME>. Empty on a kernel without <linux/sched/ext.h>.