public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/208] New: mallinfo returns incomplete information
@ 2004-06-07 18:31 carlton at bactrian dot org
2004-08-08 9:15 ` [Bug libc/208] " pere at hungry dot com
2004-09-26 13:44 ` drepper at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: carlton at bactrian dot org @ 2004-06-07 18:31 UTC (permalink / raw)
To: glibc-bugs
Judging from both the implementation and an experiment, mallinfo()
only returns information about the memory used in the current arena.
This doesn't seem to be mentioned anywhere in the info file or
in malloc.h, and I don't see how it's useful information, given that
arenas don't seem to be exposed in the user interface.
I am aware of malloc_stats(), but I don't always want the statistics
dumped to stderr. (Incidentally, malloc_stats() doesn't seem to be
mentioned in the info pages.)
--
Summary: mallinfo returns incomplete information
Product: glibc
Version: 2.2.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: carlton at bactrian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=208
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/208] mallinfo returns incomplete information
2004-06-07 18:31 [Bug libc/208] New: mallinfo returns incomplete information carlton at bactrian dot org
@ 2004-08-08 9:15 ` pere at hungry dot com
2004-09-26 13:44 ` drepper at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: pere at hungry dot com @ 2004-08-08 9:15 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pere at hungry dot com 2004-08-08 09:15 -------
The mallinfo() API was discussed on libc-alpha recently, and the
conclusion was that the info provided do not really match the
current implementation. It apparently was part of SysV, but has
been dropped from later version of the unix standard. It should
probably be removed and replaced with a better API. The current API
do not handle large amount of memory and isn't working very well
in 64bit environments.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=208
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/208] mallinfo returns incomplete information
2004-06-07 18:31 [Bug libc/208] New: mallinfo returns incomplete information carlton at bactrian dot org
2004-08-08 9:15 ` [Bug libc/208] " pere at hungry dot com
@ 2004-09-26 13:44 ` drepper at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2004-09-26 13:44 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2004-09-26 13:44 -------
mallinfo won't be extended. We will have a new interface at some point.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sources.redhat.com/bugzilla/show_bug.cgi?id=208
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-26 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-07 18:31 [Bug libc/208] New: mallinfo returns incomplete information carlton at bactrian dot org
2004-08-08 9:15 ` [Bug libc/208] " pere at hungry dot com
2004-09-26 13:44 ` drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).