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:
parent
58521d75ed
commit
c11718f005
@ -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 $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user