From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by sourceware.org (Postfix) with ESMTPS id 5C22B385842C for ; Thu, 13 Apr 2023 10:46:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C22B385842C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x22a.google.com with SMTP id w19so9615226oiv.13 for ; Thu, 13 Apr 2023 03:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681382796; x=1683974796; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=KpZUbLOdFnHzmRMyi2Hf19WBr/Lj+WQH1Yr5e5r7obw=; b=kNa/9D0xMscLMs6Ed+BqlwNYita6tsrsuP5b9KLo+aBfq+YhNHH2NfB2EeUH+bWCpH QQBQIhQdeDfM73Zc5qjgInH5nEVukNGroOJ5Zg6ttuerTcJXUzMT5PtObpXQULgv/Cvf VSdSrjsX4v83RHoF0OImJiCLJPJTdHb4jExpZ+xn+DvOPnXuamSaQesAfQkS39YFuBz2 b9tjhBVT6o5Cg/DAEq42/zMxvNuk/f6OccD5VkPNPkkOJXEgkZV74xNnTU57v5renHI/ IVuZ6i8fuabAWwdNUjz69OC9WPn15yUhZfp5KAhLw0u2qSR0lnBQAvJEkkGS5bxkbXZ/ k/Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681382796; x=1683974796; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KpZUbLOdFnHzmRMyi2Hf19WBr/Lj+WQH1Yr5e5r7obw=; b=C/GMX5pqlvg/V9E+uD3Cky7Pn3bEIYL0rN9VCH4Ajw2ya1KiNuJce9QgyZqxLHdFhF 01ar6323AJFxmsb4hMtY431sSfTJH6sBXGE8gTib4TA5zJ15vu2HK7kus5AFT32wLauB ahFkmwyXY/t9oVSSWL0NTALqpVLVJFcHZ6FQsXudtv5IU/qoSaPIYG7WFGo3lypCx1Ac K6BJlXijmsxfgWiV+uk79d6BAxFdwkjtKPDxpdHB292y2Zl1jkWdLnrvDAwc9KK/Ravu Odf2o5qgTsajm4XzwIGnzTt6iLbjNdz6Uvm/N+0mm5O3ZdFFxyqihxG3OxGy5Rr5GjbC 2usQ== X-Gm-Message-State: AAQBX9cAUHJ5HeHV/88Ew0Ej5yuS3HER5XcLXIoPtb+68daqo2fjn3G9 5rqWTY4uq8Pd2e5FnY8owalToQ== X-Google-Smtp-Source: AKy350ZUCAPFqRDQyoXYHQIz61pp0rD0RKG27zctXIa/hN/+C+p26JFNXoLehQB1WclEcAOWB7Rfyw== X-Received: by 2002:a05:6808:2cf:b0:386:8f22:ef53 with SMTP id a15-20020a05680802cf00b003868f22ef53mr947918oid.30.1681382796463; Thu, 13 Apr 2023 03:46:36 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c2:55a1:24f5:87d:bc38:ae5e? ([2804:1b3:a7c2:55a1:24f5:87d:bc38:ae5e]) by smtp.gmail.com with ESMTPSA id bx30-20020a0568081b1e00b00389898f4c4fsm473106oib.45.2023.04.13.03.46.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 03:46:35 -0700 (PDT) Message-ID: <1f0cec64-320d-199a-b455-9155ef37346c@linaro.org> Date: Thu, 13 Apr 2023 07:46:33 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v5 1/1] memalign: Support scanning for aligned chunks. Content-Language: en-US To: DJ Delorie Cc: libc-alpha@sourceware.org References: From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/04/23 22:57, DJ Delorie wrote: > Adhemerval Zanella Netto writes: >> Yes and with malloc/tst-malloc-thread-fail-malloc-hugetlb1 as well. But >> the hugetlb1 and hugetlb2 just essentially enable hugepages with extra >> mprotect/madvise calls. I don't think they play a role in this issue >> (they won't affect any metadata setting, just the timings on the tests). > > I still can't reproduce this; how much free memory is on that machine? About 64GB: $ free total used free shared buff/cache available Mem: 65760296 6847324 41000244 17540 17912728 58182972 Swap: 8388604 0 8388604 > Have you tested this particular setup without my patch? I inspected all > the tcache code changes and didn't find anything... > I will check this patch, thanks.