diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2001-08-22 18:10:37 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-08-22 18:10:37 +0000 |
commit | 0cf5e0ebd6468f0f75640cdea3875d08dc1bcd58 (patch) | |
tree | 85724721cd0a300b674aa3e7222d18c66bb93e12 | |
parent | 2aacaea63167341a4a1d9d052c008fff6bc1f157 (diff) | |
download | src-0cf5e0ebd6468f0f75640cdea3875d08dc1bcd58.tar.gz src-0cf5e0ebd6468f0f75640cdea3875d08dc1bcd58.zip |
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
Notes
Notes:
svn path=/head/; revision=82144
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6333f3e7a04e..e66a93e739f6 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. |