From owner-freebsd-current Sun Feb 9 11:40: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2DB837B401 for ; Sun, 9 Feb 2003 11:40:01 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53B9043F93 for ; Sun, 9 Feb 2003 11:40:00 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h19JdxqV031457 for ; Sun, 9 Feb 2003 20:39:59 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org Subject: MSDOSFS wastes 256k when nothing is mounted! From: Poul-Henning Kamp Date: Sun, 09 Feb 2003 20:39:59 +0100 Message-ID: <31456.1044819599@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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