From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62199 invoked by alias); 12 Aug 2019 03:12:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 61790 invoked by uid 89); 12 Aug 2019 03:12:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,KAM_INFOUSMEBIZ,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=H*F:U*mail, surprised, H*Ad:D*me, this X-HELO: mail.grenz-bonn.de Subject: Re: [PATCH] malloc: Fix missing accounting of top chunk in malloc_info [BZ #24026] To: Carlos O'Donell , Florian Weimer Cc: libc-alpha@sourceware.org References: <87blx9hyo7.fsf@oldenburg2.str.redhat.com> <87ftmkhmg2.fsf@oldenburg2.str.redhat.com> <757d8c19-6f15-928c-1adf-d818d0347e7f@redhat.com> <87h86tf3tf.fsf@oldenburg2.str.redhat.com> <9079797d-c7ca-a521-f2a0-d53e33c225e9@redhat.com> From: =?UTF-8?Q?Niklas_Hamb=c3=bcchen?= Openpgp: preference=signencrypt Message-ID: <202cccf4-7dbf-80cf-51b2-d54bbdaa462c@nh2.me> Date: Mon, 12 Aug 2019 03:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <9079797d-c7ca-a521-f2a0-d53e33c225e9@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-08/txt/msg00220.txt.bz2 Thanks everyone for helping with this! > Fixes ` incorrectly showing as 0 most > of the time. As a next thing, we probably want to update the example in `man malloc_info`, which has been showing ever since (which was also what surprised me that nobody had found it before), given that it should be extremely unlikely that rest is 0. Niklas