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
This commit is contained in:
Matthew Dillon 2001-08-22 18:10:37 +00:00
parent 2aacaea631
commit 0cf5e0ebd6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82144

View file

@ -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.