Operating Systems II -- NetBSD kernel source code tour

General remarks on code

The various subsystems

Remark: most header files are in sys/

Virtual Memory

See uvm/

Scheduling

See kern/kern_lwp.c and kern/sched_*.c

File systems

Network

Device drivers

Utility functions

kern/subr_*.c, see pools

Emulation of other operating systems' system calls

compat/

Debugging

Build infrastructure

How to configure and build a kernel.

Security models

New: fine-grain control over authorizations (or: root is too simplistic)

Miscellaneous

Useful resources

NetBSD kernel