summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/cardbus.c
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2016-05-22 16:18:27 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2016-05-22 16:18:27 +0000
commit8319ea69173e999cfecb98aff5509713d6dec3ce (patch)
tree66ed248c6b44de7eba442afabfb3ee3cd08bd03b /sys/dev/cardbus/cardbus.c
parentc53cb24a8434d426b2e17022a9b263787b29cb47 (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