summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_extern.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-22 00:11:37 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-22 00:11:37 +0000
commit88e82e5757de59729f6c52b467a8575e69a41a4c (patch)
tree321f57b5896389a440616b932c4b000a8121c8af /sys/ufs/ffs/ffs_extern.h
parent9f18d5ce67252e97b0042976a12c5109fab05548 (diff)
Change the ffs inode allocation from using malloc to pool.
Saves approx. 256k memory on a GENERIC i386 and moves 670k out of kmem_map.
Diffstat (limited to 'sys/ufs/ffs/ffs_extern.h')
-rw-r--r--sys/ufs/ffs/ffs_extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h
index 93dda25df9c..38466edc2c6 100644
--- a/sys/ufs/ffs/ffs_extern.h
+++ b/sys/ufs/ffs/ffs_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_extern.h,v 1.11 2001/02/21 23:24:31 csapuntz Exp $ */
+/* $OpenBSD: ffs_extern.h,v 1.12 2001/03/22 00:11:36 art Exp $ */
/* $NetBSD: ffs_extern.h,v 1.4 1996/02/09 22:22:22 christos Exp $ */
/*-
@@ -167,3 +167,5 @@ extern int (**ffs_fifoop_p) __P((void *));
#else
#define FFS_FIFOOPS NULL
#endif
+
+extern struct pool ffs_ino_pool;