Move many of the vm_pager_*() functions from vm_pager.c to inlines in

vm_pager.h

     Added argument to getpbuf() and relpbuf() to allow each subsystem to
     specify a different hard limit on the number of simultanious physical
     bufferes that said subsystem may allocate.  Without this feature, one
     subsystem ( e.g. the vfs clustering code ) could hog *ALL* the pbufs,
     causing a deadlock in the pager in a low memory situation.

     Same for trypbuf().
This commit is contained in:
Matthew Dillon 1999-01-21 10:15:24 +00:00
parent a489f7614b
commit f85f2fa903
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42977

View File

@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_pager.c,v 1.40 1998/11/10 09:16:27 peter Exp $
* $Id: vm_pager.c,v 1.41 1999/01/21 08:29:12 dillon Exp $
*/
/*