From owner-freebsd-current Sun Dec 30 9:26:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id C70D937B420; Sun, 30 Dec 2001 09:26:45 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id fBUHOTV27866; Sun, 30 Dec 2001 18:24:29 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Maxim Konovalov Cc: Sheldon Hearn , current@FreeBSD.ORG, chad@FreeBSD.ORG Subject: Re: Junior Kernel Hacker Task: ccdinit stack usage. In-Reply-To: Your message of "Sun, 30 Dec 2001 16:45:31 +0300." <20011230160821.L36208-100000@news1.macomnet.ru> Date: Sun, 30 Dec 2001 18:24:29 +0100 Message-ID: <27864.1009733069@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20011230160821.L36208-100000@news1.macomnet.ru>, Maxim Konovalov wr ites: >> > tmppath is a rather big one but I can't find the second item. What >> > about this patch: >> >> I think the others are the partinfo and ccdgeom structures. > >struct partinfo holds only two pointers, ccg is a pointer too. I meant partinfo, but I hadn't looked at it in enough detail to notice how small it actually was. My fault. >> As an aside, what's the undocumented M_DEVBUF flag for? It's a catch-all malloc bucket for things in drivers which are not worth allocating their own bucket for. M_TEMP is a similar catch-all bucket for which I belive the rule-of-thumb is that nothing should remain allocated by the time we return to userland. -- 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