diff options
author | 2015-02-07 00:20:53 +0000 | |
---|---|---|
committer | 2015-02-07 00:20:53 +0000 | |
commit | 1ba2bfb203eb980e6401005296c7062466e570fa (patch) | |
tree | dabf98c25d4e7998898b0798226e6c73ab4e02a7 /sys/kern/subr_hibernate.c | |
parent | Provide symbolic defines for the ICCS register magic bits, and use them (diff) | |
download | wireguard-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