bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mallinfo can't handle >2g values


From: Wolfram Gloger
Subject: Re: mallinfo can't handle >2g values
Date: Wed, 12 Mar 2003 16:46:26 +0100 ("MET)

Replying to myself, sorry:

> However, we could do unsigned arithmetic internally and hand out
> "negative" ints in struct mallinfo that would "correctly" cast back to
> unsigned, up to 4GB-1.  Would that be enough for you?

It was just pointed out to me by Doug Lea that this is already the
case in the current code.  If you cast back the int values to
unsigned, the stats should be correct even if >2GB.

Regards,
Wolfram.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]