From 0cf5e0ebd6468f0f75640cdea3875d08dc1bcd58 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 22 Aug 2001 18:10:37 +0000 Subject: [PATCH] Remove the code that limited the buffer_map to 1/2 the size of the kernel_map. maxbcache takes care of this now and the 1/2 limit can interfere with testing. Suggested by: bde --- sys/kern/vfs_bio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6333f3e7a04..e66a93e739f 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -351,6 +351,7 @@ kern_vfs_bio_buffer_alloc(caddr_t v, int physmem_est) nbuf = maxbcache / BKVASIZE; } +#if 0 /* * Do not allow the buffer_map to be more then 1/2 the size of the * kernel_map. @@ -361,6 +362,7 @@ kern_vfs_bio_buffer_alloc(caddr_t v, int physmem_est) (BKVASIZE * 2); printf("Warning: nbufs capped at %d\n", nbuf); } +#endif /* * swbufs are used as temporary holders for I/O, such as paging I/O.