From owner-freebsd-hackers Wed Feb 28 16:50:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from VL-MS-MR002.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by hub.freebsd.org (Postfix) with ESMTP id 66EE237B71A for ; Wed, 28 Feb 2001 16:50:53 -0800 (PST) (envelope-from bmilekic@technokratis.com) Received: from jehovah ([24.202.203.190]) by VL-MS-MR002.sc1.videotron.ca (Netscape Messaging Server 4.15) with SMTP id G9HU1102.JKY; Wed, 28 Feb 2001 19:43:49 -0500 Message-ID: <007201c0a1e9$07620490$becbca18@jehovah> From: "Bosko Milekic" To: "Shankar Agarwal" , References: <3A9D7669.C567448E@net.com> Subject: Re: questions regarding the MGET function. Date: Wed, 28 Feb 2001 19:46:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shankar Agarwal wrote: > Hi, > Can you please tell me when did the MGET function change it > implementation from using MALLOC to using pool_get to allocate a mbuf. I Never. We don't use pool_get(). That's a NetBSD-ism. :-) The mbuf subsystem uses its own allocator and stats are kept in mbstat which is exported via sysctl. Things like netstat(1) can fetch this information for you. > am having a trouble finding out how does the memstats keep track of the > mbufs allocated through pool_get. > Thanks > Regards > Shankar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message