SCHED_M2(9)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– NAME πŸ’–

sched_m2 β€” the M2 thread scheduler, bestie. This one comes straight from the Kernel Developer's Manual ✨


✨ SYNOPSIS ✨

#include <sys/sched.h>

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the M2 scheduler implements a scheduling algorithm similar to the scheduler implementations of UNIX System V Release 4 and Solaris. That's the whole vibe check: same energy as those classics, no cap πŸ’…


🌸 EXAMPLES 🌸

Wanna figure out which scheduler is currently in use? Run this, bestie:

$ sysctl kern.sched.name
kern.sched.name = M2

Look at that: kern.sched.name = M2. Iconic. Slay. πŸŽ€


πŸŽ€ CODE REFERENCES πŸŽ€

The M2 scheduler is implemented within the file sys/kern/sched_m2.c, fr fr 🫢


πŸ’… SEE ALSO πŸ’…

Also, the book reference, because we stan a cited source πŸ“š:

Berny Goodheart and James Cox, The Magic Garden Explained: The Internals of UNIX System V Release 4, Prentice Hall, 1994.


πŸ’– cute lil sign-off time πŸ’– This page is from Debian, dated April 9, 2019, and its manual-page name is SCHED_M2(9). Periodt. πŸŒˆπŸ‘‘
πŸ“¦ where this page comes from