Date: Thu, 26 Oct 2006 10:17:13 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c Message-ID: <200610261017.k9QAHDOq047051@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-10-26 10:17:13 UTC FreeBSD src repository Modified files: sys/kern kern_malloc.c Log: Increase usefulness of "show malloc" by moving from displaying the basic counters of allocs/frees/use for each malloc type to calculating InUse, MemUse, and Requests as displayed by the userspace vmstat -m. This is more useful when debugging malloc(9)-related memory leaks, where the count of allocs/frees may not usefully reflect that current memory allocation (i.e., when highly variable size allocations occur with the same malloc type, such as with contigmalloc). MFC after: 3 days Limitations observed by: scottl Revision Changes Path 1.156 +11 -5 src/sys/kern/kern_malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610261017.k9QAHDOq047051>