From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: DJ Delorie Newsgroups: gmane.comp.lib.glibc.alpha Subject: Re: [PATCH v2] Add malloc micro benchmark Date: Tue, 02 Jan 2018 13:45:29 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514918632 7290 195.159.176.226 (2 Jan 2018 18:43:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Jan 2018 18:43:52 +0000 (UTC) Cc: carlos@redhat.com, libc-alpha@sourceware.org, nd@arm.com To: Wilco Dijkstra Original-X-From: libc-alpha-return-88787-glibc-alpha=m.gmane.org@sourceware.org Tue Jan 02 19:43:48 2018 Return-path: Envelope-to: glibc-alpha@blaine.gmane.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; q=dns; s=default; b=hvxZ8GsNH0euAcFS xoSQp6nsr4hba5j01RAmx8Vsz+PskmlEFCm8zF3UUBs6jlHIDbeL+7kZfMsldYc3 mfh01MnzZ9d6FX04G3RoXpQKFqeTQMQhB89aNYZCJ6JQYlDQ8ypYkiEx4lo0PnmB Qsdgq3gUcGlUABRNUlSiguiiwO0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=default; bh=1V17Oc4T8Bxf0K0XR+vWa9 /3Jf0=; b=Byt8iHKlGKBAM1Q/oT3nM47V7IvhPIbtc2HBN3K94A6s3XBVAp8YPo E8ADBmI5Td4mLuYZL5O7O5dGw03LZpC+02FPsKY6nr1GH11ckVCxq3sQ1UesMIhY CoJLxYSkLJ3qoVIfSoCKoATj2J99naXfZlPcI1v4dHbgIpowcUt1E= Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: libc-alpha-owner@sourceware.org Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*r:8.14.7 X-HELO: mx1.redhat.com In-Reply-To: (message from Wilco Dijkstra on Tue, 2 Jan 2018 18:20:04 +0000) Xref: news.gmane.org gmane.comp.lib.glibc.alpha:81150 Archived-At: Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWRXJ-0001Hq-3L for glibc-alpha@blaine.gmane.org; Tue, 02 Jan 2018 19:43:41 +0100 Received: (qmail 7958 invoked by alias); 2 Jan 2018 18:45:40 -0000 Received: (qmail 7879 invoked by uid 89); 2 Jan 2018 18:45:35 -0000 Wilco Dijkstra writes: > To enable this, add support for M_TCACHE_COUNT in mallopt. What other tests do is create a second test that just #include's the first test, and set an environment variable in the Makefile specific to that test. Adding an ABI just for a test is a big hammer, although we could discuss adding tcache to mallopt() as a seperate topic. I don't have any objection to adding tcache to mallopt (although please add all three tunables if you do), just saying we should discuss it as an ABI change separately.