From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fuchsia.ash.relay.mailchannels.net (fuchsia.ash.relay.mailchannels.net [23.83.222.64]) by sourceware.org (Postfix) with ESMTPS id D54D13858431 for ; Tue, 14 Mar 2023 18:02:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D54D13858431 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 99089340F7D; Tue, 14 Mar 2023 18:02:18 +0000 (UTC) Received: from pdx1-sub0-mail-a306.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D42B0340CCF; Tue, 14 Mar 2023 18:02:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1678816937; a=rsa-sha256; cv=none; b=yF9W1u9iRzyBhFWk9Q/FfbSkB82iEz6SP8Ha1Ed1f1ytNyuVD2MS+aWDRFDsSU7yKDM3J4 t4BC2F4Pmwgd8H8633I/pZJFWjrAzJJDcMcYm1BnXIHXebG0PhPDiOqGYJGTOJRGYP6OPU /8MXw4t+oFkrlZfpdG2t+Ph1uAOTJOptXKDSj6kHvmleritSMfok+zucSSvhE9sIWjiNFB +cANlqZShCoIA8eraCbjEaUmmBMGlZjZEKetUd3kCQYJb7BhqucB1UnI2znh2MuJvHyafd gShI72CZ6uaG65o05rHAJWFe2s7z5CvQOs/npNqtACT3n+0fVflWpwyhTWy51g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1678816937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=mrnKejccpHGdJCXiBVskNfx+HDo5PqyBGLUSruiBwIk=; b=xmRlw3q+kCh0O4u+f3EXobkHSOeCj4Ha8xWxFFCkk64XvyM06JqLgB8mZi90thPwJpsLee T/VgR0evjP4voMU7LCIqRsILmrINJxso1/bRZUDTjZHV9ZJOGNxJR8/TO4WjPaEMvK48zX g1K/Jknwq/9JQNB5++TfT+OYv8yqQ9+SQfVpf+mOu+y0nNZdbz5ia/dOgV13cwde7EKFmN 24VI7ABEatiUeTMXqlTH7uvJ0PxMT2VOAqj3cL14PU9d36VlPzecD2n6IkKMKPfkkeXb40 xSJbFwmoqDDLG37UKZLoQnWUWSHkP+eszhykbJG0+w4ZaeZu3g1NzvVGUNQvYw== ARC-Authentication-Results: i=1; rspamd-7584d5cf47-tg7zv; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Coil-Spicy: 4fbbbc951b3c935e_1678816938274_1824284588 X-MC-Loop-Signature: 1678816938274:2080718160 X-MC-Ingress-Time: 1678816938273 Received: from pdx1-sub0-mail-a306.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.138.20 (trex/6.7.2); Tue, 14 Mar 2023 18:02:18 +0000 Received: from [192.168.0.182] (bras-vprn-toroon4834w-lp130-09-174-91-45-153.dsl.bell.ca [174.91.45.153]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a306.dreamhost.com (Postfix) with ESMTPSA id 4PbhF52Y8bzHf; Tue, 14 Mar 2023 11:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1678816937; bh=mrnKejccpHGdJCXiBVskNfx+HDo5PqyBGLUSruiBwIk=; h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding; b=oWgU1Ln1sThA6Aa9SVoUYfrc9Az68c9alXrrYwYhFuCXK7Gc+6Uez3HQiGYMvWEVo fMo1IuoaWQwPmSqlMI5QFfyi9jDx2bYO86RIUY03nOxRzQeK/vY1PEM2RV7LzAinTw C3xZ2CbInoieTncX3xxlP6pF+nKG8ZZU2NTXzEZaKbYHhEtqZtTuSstdaD5ulSZMy5 GAVO9FIDnjCZvfV/wGja2ThHIhuUajZVyrJLw/ikaBUjz47uPbSV0k12yF8d6yll0B lMzyZXU+hkf7E/eNi+LlZ7Qc95JRcC8149P0rHYK0xf7AM8G4Py7s1XzDZQiJSJ+5c nA45gS2ch7j3g== Message-ID: <6511a415-b165-586d-b22d-80ff4eef0fa8@gotplt.org> Date: Tue, 14 Mar 2023 14:02:16 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 0/2] Make tunable a default feature Content-Language: en-US To: Adhemerval Zanella , libc-alpha@sourceware.org, Florian Weimer References: <20230313190627.2000578-1-adhemerval.zanella@linaro.org> From: Siddhesh Poyarekar In-Reply-To: <20230313190627.2000578-1-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3031.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 2023-03-13 15:06, Adhemerval Zanella wrote: > It is enabled as default since 2.26, some features option require it > (such as hwcap mask, huge pages support, and lock elisition tuning), > and assuming its support also simplifies the build permutation. from a historical perspective, there was not just the question of enabling tunables but also providing multiple ways to read tunables, each having its own parser. That is why there's a 'valstring' as an option for --enable-tunables. Over the years there haven't really been any other ideas to read tunables. There's the idea of systemwide tunables through, e.g. ld.so.conf that we'd like to have at some point, but that is more effective alongside valstring than as an either-or feature. There's also conceivably a use case for having only systemwide tunables without any valstring override but maybe that should get supported when it's actually needed by someone. So in summary, I'm not aware of anybody using --disable-tunables, so I'm not opposed to removing the configure flag altogether and simplifying the code. Hopefully if someone is using it they'll come forward before this patchset gets accepted. Thanks, Sid