From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 5D5FC3858C56 for ; Fri, 12 Apr 2024 21:50:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D5FC3858C56 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5D5FC3858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712958659; cv=none; b=gCH1eUX9rAIlwtzcwomD5hxvSqjwrOW08xW7n+w6WjYASVrDA+BbNugJ56MaTpe1nCEwtV5u8Z2N8KfVJQOwa76awWsMz6K/q3Pn+Qu/hmXYYVuIMJtq10gJmbMq0SPsrcGdpotgZylIKjB4AbKoelN1ALAXdaDdspLjqOC4xtI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712958659; c=relaxed/simple; bh=QEI9gPnoeqeuTEA89f34ewGuwvOjQ85pRDT2yQRfJPE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Uo2ChULhbS4DP5Dq1FxOTpt1ceadgZBoGGU2+y79mYmVkyW9IllaRCrg5IkL8WLgtudaQMCVzDqFg1H2zbJpZhBLx13w1Fcn8TqLnrkKjNIUNk+qXb7wfmOYbrsBKdz7lhxH8J0+lbZFgn0YuWAsWyXGCpNE+mOHC7+1vakG/zs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712958657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=QEI9gPnoeqeuTEA89f34ewGuwvOjQ85pRDT2yQRfJPE=; b=P7RbqyPGlnOq7YsBZYJVLDUlySlK0nXJeu+DOpq344Z6y+iAxoElERi9DZIjuNoX6dlXnf 5f0ZeuCDswiwDy4tEb9RN5FywgioXGfh1dNLOz8E/EjEPJArddBNZzbP6Yi1iAyAKATWvy yrt6IpnIeGozJJQPDnyE58uKwq6Un7U= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-339-ANlS-0bMO8mb_qUTlheWYA-1; Fri, 12 Apr 2024 17:50:53 -0400 X-MC-Unique: ANlS-0bMO8mb_qUTlheWYA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7473E3806701; Fri, 12 Apr 2024 21:50:52 +0000 (UTC) Received: from greed.delorie.com (unknown [10.22.8.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3A33710E47; Fri, 12 Apr 2024 21:50:52 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.16.1/8.16.1) with ESMTP id 43CLopbw1448042; Fri, 12 Apr 2024 17:50:51 -0400 From: DJ Delorie To: "=?ISO-8859-2?Q?Cristian_Rodr=EDguez?=" Cc: Wilco.Dijkstra@arm.com, e@80x24.org, libc-alpha@sourceware.org Subject: Re: [RFT] malloc: reduce largebin granularity to reduce fragmentation In-Reply-To: =?ISO-8859-1?Q?=0D?= =?ISO-8859-1?Q?=0A_(message_from_Cristian_Rodr=EDguez_?= =?ISO-8859-1?Q?on_Fri,_12_Apr_2024_11:35:38_-0400)?= Date: Fri, 12 Apr 2024 17:50:49 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,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: Cristian Rodrguez writes: > On Fri, Apr 12, 2024 at 11:19=E2=80=AFAM Wilco Dijkstra wrote: > >> My general feeling is that this allocator is way too ancient and hacked = up to >> compete with modern allocators like jemalloc or mimalloc. > > both are licensed as free software so glibc could adopt any of them. > will that happen is the actual question. This comes up occasionally, so I'll just link https://lwn.net/ml/fedora-devel/xny3dw8l5o.fsf@greed.delorie.com/ https://lwn.net/Articles/761502/