Module Name: src Committed By: dyoung Date: Tue Aug 23 22:00:58 UTC 2011
Modified Files: src/share/man/man9: vmem.9 src/sys/kern: subr_vmem.c src/sys/rump/net/lib/libshmif: if_shmem.c src/sys/sys: vmem.h Log Message: Introduce a couple of new constants, VMEM_ADDR_MIN (the least possible address in a vmem(9) arena, 0) and VMEM_ADDR_MAX (the maximum possible address, currently 0xFFFFFFFF). Modify several boundary conditions so that a vmem(9) arena can allocate ranges including VMEM_ADDR_MAX. Update documentation and tests. These changes pass the tests in sys/kern/subr_vmem.c. To compile the and run the test program, run "cd sys/kern/ && gcc -DVMEM_SANITY -o subr_vmem ./subr_vmem.c && ./subr_vmem". To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/share/man/man9/vmem.9 cvs rdiff -u -r1.59 -r1.60 src/sys/kern/subr_vmem.c cvs rdiff -u -r1.40 -r1.41 src/sys/rump/net/lib/libshmif/if_shmem.c cvs rdiff -u -r1.12 -r1.13 src/sys/sys/vmem.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.