summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pager.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-21 10:15:24 +0000
committerdillon <dillon@FreeBSD.org>1999-01-21 10:15:24 +0000
commitc11718f00548860f5290dbb26dc67e06963e0d9b (patch)
treebb254531f66eb3486106a9ea9a25903f1f30a26b /sys/vm/vm_pager.c
parent58521d75edd87c7c8d6e179d5778c5305a837ef4 (diff)
downloadFreeBSD-src-c11718f00548860f5290dbb26dc67e06963e0d9b.zip
FreeBSD-src-c11718f00548860f5290dbb26dc67e06963e0d9b.tar.gz
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().
Diffstat (limited to 'sys/vm/vm_pager.c')
-rw-r--r--sys/vm/vm_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c
index 62fe6e8..1e379a4 100644
--- a/sys/vm/vm_pager.c
+++ b/sys/vm/vm_pager.c
@@ -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 $
*/
/*
OpenPOWER on IntegriCloud