CVSROOT:        /cvs
Module name:    src
Changes by:     ste...@cvs.openbsd.org  2016/05/22 10:18:26

Modified files:
        lib/libkvm     : kvm_proc.c 
        sys/uvm        : uvm_amap.c uvm_amap.h 

Log message:
Make amaps use less kernel memory

This is achieved by grouping amap slots into chunks that are allocated
on-demand by pool(9). Endless "fltamapcopy" loops because of kmem
shortage should be solved now. The kmem savings are also important to later
enable vmm(4) to use larged shared memory mappings for guest VM RAM.

This adapts libkvm also because the amap structure layout has changed.

Testing and fix of libkvm glitch in initial diff by tb@
Feedback and "time to get this in" kettenis@

Reply via email to