Date: Mon, 27 May 2002 15:20:23 +0100 (BST) From: Hiten Pandya <hiten@uk.FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/38618: Malloc types can be used with multiple allocations Message-ID: <200205271420.g4REKNer001176@hpdi.ath.cx>
next in thread | raw e-mail | index | archive | help
>Number: 38618 >Category: docs >Synopsis: Malloc types can be used with multiple allocations >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon May 27 07:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hiten Pandya >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat May 4 19:07:01 BST 2002 hitenp@hpdi.ath.cx:/c1/obj/data/dev/src/sys/CURRENT5 i386 >Description: The malloc_type argument to the kernel malloc(9), and MALLOC(9) calls be used for multiple allocations. Although this is common knowledge when you have experimented with it, but for newbie kernel hackers, it would be a good hint. The delta attached below can be used to provide this note. Thanks. -- Hiten Pandya -- <hiten@uk.FreeBSD.org> >How-To-Repeat: >Fix: Apply the below provided delta. Otherwise please comment in the followup. Index: malloc.9 =================================================================== RCS file: /home/ncvs/src/share/man/man9/malloc.9,v retrieving revision 1.23 diff -u -r1.23 malloc.9 --- malloc.9 2002/03/18 10:52:09 1.23 +++ malloc.9 2002/05/27 14:18:40 @@ -184,7 +184,7 @@ The .Fa type argument is used to perform statistics on memory usage, and for -basic sanity checks. +basic sanity checks. It can be used to identify multiple allocations. The statistics can be examined by .Sq vmstat -m . .Pp >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205271420.g4REKNer001176>