Coarse_stat_fs: Zero-syscall access to /proc/self/{stat, schedstat}
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
coarse_stat_fs is a Linux kernel module, requiring kernel 6.1 or later on x86-64, that exposes coarse versions of /proc/self/schedstat and /proc/stat as read-only shared memory pages.