Re: malloc_stats(3) man page for review
From: Michael Kerrisk (man-pages) <hidden>
Date: 2012-05-05 22:16:37
On Sun, May 6, 2012 at 9:17 AM, KOSAKI Motohiro [off-list ref] wrote:
quoted
quoted
and the total number of bytes consumed by in-use allocations. (These two values correspond to the .I arena and .I uordblks fields retrieved by .BR mallinfo (3).) In addition, the function prints the sum of these two statistics for all arenas, and the maximum number of blocks and bytes that were ever simultaneously allocated using .BR mmap (2).If I understand correctly, this function output "Total (incl. mmap):\n" header, but "system bytes" and "in use bytes" don't include mmaped chunk. So, It would be nice if a bug section describe it. But I'm not an expert on this area. Please don't 100% trust me.I'm sorry. I was incorrect. stat work correctly. please forget this.
Okay -- no problem! Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html