summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-02-07 00:20:53 +0000
committermiod <miod@openbsd.org>2015-02-07 00:20:53 +0000
commit1ba2bfb203eb980e6401005296c7062466e570fa (patch)
treedabf98c25d4e7998898b0798226e6c73ab4e02a7 /sys/kern/subr_hibernate.c
parentProvide symbolic defines for the ICCS register magic bits, and use them (diff)
downloadwireguard-openbsd-1ba2bfb203eb980e6401005296c7062466e570fa.tar.xz
wireguard-openbsd-1ba2bfb203eb980e6401005296c7062466e570fa.zip
Shrink the I/O map from 64KB to 16KB. This map is only used for
smaller-than-a-logical-page allocations, while logical page size and larger are passed to uvm. So in the worst case, the kernel will end up needing about 20 vax pages out of it: 1 for non-console serial chips, up to 2 per Ethernet controller, 1 per SCSI controller, up to 3 for the clock or SSC chip, 1 for the cpmbox, up to 3 for model-specific mappings (VS_REGS, KA650 stuff), 1 for the leds, and up to 3 for frame buffer registers. Thus shrinking from 128 pages to 32 is still large enough.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions