Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   cherry
Date:           Mon Dec 19 12:21:29 UTC 2016

Added Files:
        src/share/man/man9: uvm_hotplug.9
        src/sys/uvm: uvm_physseg.c uvm_physseg.h
        src/tests/sys/uvm: Makefile t_uvm_physseg.c t_uvm_physseg_load.c

Log Message:
This is a preview of the uvm_hotplug(9) api code.
This commit does not actually introduce the UVM_HOTPLUG option.
However it does provide developers a way to review, test and try out
the API.

To do this, please go to tests/sys/uvm/ and build and run the tests
there. The tests also have a set of basic load tests, to get a measure
of the performance penalties due to enabling the UVM_HOTPLUG option.

In order to build the tests you need to have at least done the
following in $SRC/

cd $SRC; $NBMAKE do-distrib-dirs includes
cd $SRC/lib/csu; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc_s; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc; $NBMAKE all install || exit
cd $SRC/lib/libc; $NBMAKE includes all install || exit
cd $SRC/lib/libpthread; $NBMAKE all install || exit
cd $SRC/lib/libm; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libstdc++-v3/; $NBMAKE all install || exit

Once the development environment has these userspace libraries, one
can simple build using $NBMAKE and finally test the kernel API using

atf-run|atf-report


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/man/man9/uvm_hotplug.9
cvs rdiff -u -r0 -r1.1 src/sys/uvm/uvm_physseg.c src/sys/uvm/uvm_physseg.h
cvs rdiff -u -r0 -r1.1 src/tests/sys/uvm/Makefile \
    src/tests/sys/uvm/t_uvm_physseg.c src/tests/sys/uvm/t_uvm_physseg_load.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index