Date: Sun, 09 Feb 2003 20:39:59 +0100 From: Poul-Henning Kamp <phk@phk.freebsd.dk> To: current@freebsd.org Subject: MSDOSFS wastes 256k when nothing is mounted! Message-ID: <31456.1044819599@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
I don't have any msdos filesystems mounted, yet:
kern.malloc:
Type InUse MemUse HighUse Requests Size(s)
[...]
MSDOSFS mount 1 256K 256K 1
[...]
due to this:
/*ARGSUSED*/
int
msdosfs_init(vfsp)
struct vfsconf *vfsp;
{
dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, &dehash);
mtx_init(&dehash_mtx, "msdosfs dehash", NULL, MTX_DEF);
return (0);
}
Somebody: please fix so this doesn't suck.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31456.1044819599>
