diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-03-03 15:12:07 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-03-03 15:12:07 +0000 |
commit | b6075895bc4e1fb1ef10c261a7460d7aa095d3b6 (patch) | |
tree | 120331815315b8e9e43b2ceb996b5d4640845390 /usr.bin/ypwhich | |
parent | c8d63b05598af3031df5c409fbdddbf0a0af5c13 (diff) |
When allocating virtual space for bus_space_map, don't use
uvm_km_alloc() (which allocates some virtual space and then
$size_of_mapping pages which it then enters) *then* pmap_kenter the
bus_space address that we wish to map, it's just a little bit stupid and
a waste of memory.
replace with uvm_km_valloc and ponies for everyone.
ok drahn@
Diffstat (limited to 'usr.bin/ypwhich')
0 files changed, 0 insertions, 0 deletions