The M2 scheduler implements a scheduling algorithm similar to the scheduler implementations of UNIX System V Release 4 and Solaris.
CODE REFERENCES
This section describes places within the NetBSD source tree where actual code implementing the scheduler can be found. All pathnames are relative to /usr/src.
The M2 scheduler is implemented within the file sys/kern/sched_m2.c.