diff options
author | gallatin <gallatin@FreeBSD.org> | 2001-03-01 19:21:24 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2001-03-01 19:21:24 +0000 |
commit | 845eeac4fc47466824d871b49fc54af4c3812e09 (patch) | |
tree | c28afbf0fb56211a678b1fe242895f13f6b8ea8b /sys/compat/linux/linux_socket.c | |
parent | 1603ceb27af39f6209ac392f615a19e46eb400a3 (diff) | |
download | FreeBSD-src-845eeac4fc47466824d871b49fc54af4c3812e09.zip FreeBSD-src-845eeac4fc47466824d871b49fc54af4c3812e09.tar.gz |
Allocate vm_page_array and vm_page_buckets from the end of the biggest chunk
of memory, rather than from the start.
This fixes problems allocating bouncebuffers on alphas where there is only
1 chunk of memory (unlike PCs where there is generally at least one small
chunk and a large chunk). Having 1 chunk had been fatal, because these
structures take over 13MB on a machine with 1GB of ram. This doesn't leave
much room for other structures and bounce buffers if they're at the front.
Reviewed by: dfr, anderson@cs.duke.edu, silence on -arch
Tested by: Yoriaki FUJIMORI <fujimori@grafin.fujimori.cache.waseda.ac.jp>
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions