From: art Date: Sat, 4 Mar 2000 16:40:29 +0000 (+0000) Subject: Cut the number of dependencies to reduce problems on low-memory machines. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f619b14ff3d38f3affae3b83f9ca1b1a73c8f02c;p=openbsd Cut the number of dependencies to reduce problems on low-memory machines. --- 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);