Commit Graph

8 Commits

Author SHA1 Message Date
cherry
609524cc7d Move sys/uvm/uvm_physseg.h inclusion to within _KERNEL only. 2017-01-02 20:08:32 +00:00
rin
c7ed8c6fc4 Protect uvm_physseg_set_avail_{start,end} by UVM_PHYSSEG_LEGACY.
All the ports other than acorn26 do not use them any longer.
Ok cherry
2016-12-29 12:58:38 +00:00
cherry
ce8e005d0a Add copyright info.
After sufficient poking by Taylor.
2016-12-26 18:47:00 +00:00
maya
ab54d6b920 as a stopgap fix make all of uvm_physseg.h kernel-only. this file uses
paddr_t which isn't available to userland, breaking builds that use uvm
headers, like devel/libuv on pkgsrc.

pointed out by Carsten Kunze on pkgsrc-users.

ok riastradh
2016-12-24 15:42:05 +00:00
cherry
3b1622fa3c "Make NetBSD great again!"
Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.
2016-12-23 07:15:27 +00:00
cherry
d24c42c87d Turn off uvm_hotplug option selection until we actually have it.
Should fix the build.
2016-12-22 15:54:35 +00:00
cherry
e6ff351e1a convention about function names for predicate checking:
s/uvm_physseg_valid()/uvm_physseg_valid_p()/

per. matt@
2016-12-22 08:15:20 +00:00
cherry
07acf3c096 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
2016-12-19 12:21:29 +00:00