Instructions on building a NetBSD kernel with UVM_CCA
======================================================
1. Check out latest kernel sources:
cvs -d :pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot login
cvs -z5 -d :pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot co -P src/sys
2. Check out module congest from SF:
cvs -d:pserver:anonymous@netbsd-soc.cvs.sourceforge.net:/cvsroot/netbsd-soc login
cvs -z3 -d:pserver:anonymous@netbsd-soc.cvs.sourceforge.net:/cvsroot/netbsd-soc co -P congest
You should have two directories: uvm/ and miscfs/
3. Softlink the uvm/ and miscfs/ available in (1) with (2).
4. Note, there is no "options UVM_CCA" in the current release. The main code is in
uvm/uvm_cca.c and uvm/uvm_cca.h. The hook is in miscf/genfs/genfs_vnops.c.
5. Compile and move the kernel to /netbsd.uvm_cca
6. Reboot the machine. At the boot prompt, enter "boot netbsd.uvm_cca"
7. The UVM_CCA module is now activated. In /var/log/message file, process sleeping information is available.
################