How about shaving some useless looking mallocs off? Here is a start,
saving 4K:
Index: isofs//cd9660/cd9660_node.c
===
RCS file: /home/vcs/cvs/openbsd/src/sys/isofs/cd9660/cd9660_node.c,v
retrieving revision 1.29
diff -u -p -r1.29 cd
Hit my usual sparc problem again. No softdep. This machine has 512MB...
Connected to /dev/cuaU0 (speed 9600)
ddb> show panic
malloc: out of space in kmem_map
ddb> trace
malloc(0x1, 0x7f, 0x1, 0x4121c280, 0x1, 0x1) at malloc+0x4b4
ufs_readdir(0xfa2f9dfc, 0xa2, 0xf831fd38, 0x4121c28c, 0