From f619b14ff3d38f3affae3b83f9ca1b1a73c8f02c Mon Sep 17 00:00:00 2001 From: art Date: Sat, 4 Mar 2000 16:40:29 +0000 Subject: [PATCH] Cut the number of dependencies to reduce problems on low-memory machines. --- sys/ufs/ffs/ffs_softdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index b82a65a19bb..007c484bb7c 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -874,7 +874,7 @@ softdep_initialize() LIST_INIT(&mkdirlisthd); LIST_INIT(&softdep_workitem_pending); - max_softdeps = desiredvnodes * (32 / sizeof(register_t)); + max_softdeps = desiredvnodes * (16 / sizeof(register_t)); pagedep_hashtbl = hashinit(desiredvnodes / 5, M_PAGEDEP, M_WAITOK, &pagedep_hash); sema_init(&pagedep_in_progress, "pagedep", PRIBIO, 0); -- 2.20.1