diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-05-22 16:18:27 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-05-22 16:18:27 +0000 |
commit | 8319ea69173e999cfecb98aff5509713d6dec3ce (patch) | |
tree | 66ed248c6b44de7eba442afabfb3ee3cd08bd03b /sys/dev/cardbus/cardbus.c | |
parent | c53cb24a8434d426b2e17022a9b263787b29cb47 (diff) |
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@
Diffstat (limited to 'sys/dev/cardbus/cardbus.c')
0 files changed, 0 insertions, 0 deletions