artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c29c2
)
Cut the number of dependencies to reduce problems on low-memory machines.
author
art
<art@openbsd.org>
Sat, 4 Mar 2000 16:40:29 +0000
(16:40 +0000)
committer
art
<art@openbsd.org>
Sat, 4 Mar 2000 16:40:29 +0000
(16:40 +0000)
sys/ufs/ffs/ffs_softdep.c
patch
|
blob
|
history
diff --git
a/sys/ufs/ffs/ffs_softdep.c
b/sys/ufs/ffs/ffs_softdep.c
index
b82a65a
..
007c484
100644
(file)
--- 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);