Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 19:46:18 -0500
From:      "Bosko Milekic" <bmilekic@technokratis.com>
To:        "Shankar Agarwal" <shankar_agarwal@net.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: questions regarding the MGET function.
Message-ID:  <007201c0a1e9$07620490$becbca18@jehovah>
References:  <3A9D7669.C567448E@net.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007201c0a1e9$07620490$becbca18>