From: Ulrich Drepper Date: Fri, 6 Feb 2009 18:27:08 +0000 (+0000) Subject: * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. X-Git-Tag: cvs/fedora-glibc-20090218T1534~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2e390fad8271da33a51075cc2bf27c9fe78861b;p=thirdparty%2Fglibc.git * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. (update_data): Fix handling of wrapping back --- diff --git a/ChangeLog b/ChangeLog index fafcde5e4b6..8f415a83007 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2009-02-06 Ulrich Drepper - * malloc/memusage.c (update_data): Fix handling of wrapping back + * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. + (update_data): Fix handling of wrapping back to the beginning of the buffer. [BZ #9823] diff --git a/malloc/memusage.c b/malloc/memusage.c index 6c67a8c2e85..fcd58dc6849 100644 --- a/malloc/memusage.c +++ b/malloc/memusage.c @@ -93,7 +93,7 @@ static __thread uintptr_t start_sp; #define peak_stack peak_use[1] #define peak_total peak_use[2] -#define DEFAULT_BUFFER_SIZE 1024 +#define DEFAULT_BUFFER_SIZE 32768 static size_t buffer_size; static int fd = -1;