From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 69FFF1F55B for ; Mon, 1 Jun 2020 20:20:32 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 98DF4387086A; Mon, 1 Jun 2020 20:20:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98DF4387086A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591042831; bh=+FeBycztufVwtKcU2NjoqAm5Ciq5DxZaCtBa9wUkVHo=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PI1YhbDskxQ29IXKhAvUOW664lzveLDomaVBk25SnLQk/mz8LcQOKaMVkieU/wwPY b4eK52mqZJNQSrjaXg/muIDTRlOc6SYzeGR7O2DB+OMiiUXoXH0L3Pxf38uj5aukoD +OgXTyi2UvFMhN/5YexGwiudT8zoJfSCjLVEKD98= Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by sourceware.org (Postfix) with ESMTPS id B9F87385DC00 for ; Mon, 1 Jun 2020 20:20:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B9F87385DC00 Received: by mail-io1-xd41.google.com with SMTP id j8so8321141iog.13 for ; Mon, 01 Jun 2020 13:20:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+FeBycztufVwtKcU2NjoqAm5Ciq5DxZaCtBa9wUkVHo=; b=qxOjL4uOBnW11tU37zJMpdBK4zojV77LmUQmJhhXxGC0KODOhuTwGctA1h3L9GpTnG 33A5e2PAAy2M+SFalF+qwKmNih3FLW1QA6WgYH6xnMaou5+pTMjaLFHURVD1dznXzOY+ CVglZ05SSA+feY/gkNwZlrZ8sofF3JL3qiqFfbacoFsnBOO0bIU72GFxe0mU8R8gdCaB AnrSBRDOE0ktFohqJQHGyghBDtn+K2uJ1I0fW02BXhmyYqFXLGCxxkydwdRVPGOFEqvT LGQA/JvkUkRM1eC5QnfEOjuZysh2ImSpizhzp599fwQQXVE4lprAB8zaXjcNkFFqce5e FgOg== X-Gm-Message-State: AOAM5322VOZZNvKtluLSySgQzbONWT3U16NnqvoWjAhzWHxPHeQ1hO5J aLWJFsJXvbBFCdi6Sg5Sb9N5T7446gqsYEdWWK8= X-Google-Smtp-Source: ABdhPJwMaaOHRloPFilYc9zS7Qe7mg7RcjABpPexvL45xRijyIO5Kmci1k8rA6ZCRUlvlZWIXzy5/nuzZAvCZm1xM1A= X-Received: by 2002:a6b:39c3:: with SMTP id g186mr19745552ioa.91.1591042828272; Mon, 01 Jun 2020 13:20:28 -0700 (PDT) MIME-Version: 1.0 References: <15ec783d-46f5-0166-aee9-f1d16a58ca83@huawei.com> In-Reply-To: Date: Mon, 1 Jun 2020 13:19:52 -0700 Message-ID: Subject: Re: [PATCH] x86: Add thresholds for "rep movsb/stosb" to tunables To: "Carlos O'Donell" Content-Type: text/plain; charset="UTF-8" X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Cc: Hushiyuan , "libc-alpha@sourceware.org" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Mon, Jun 1, 2020 at 1:15 PM H.J. Lu wrote: > > On Mon, Jun 1, 2020 at 12:38 PM Carlos O'Donell wrote: > > > > On Mon, Jun 1, 2020 at 3:33 PM H.J. Lu wrote: > > > Did you mean adding --list-tunables to ld.so? libc.so.6 doesn't take > > > any arguments. > > > > Yes, I mean adding argument processing to libc.so.6, and handling > > --list-tunables. > > > > We have enough infrastructure in place that wiring that up shouldn't be too bad? > > > > Then, even in trimmed down containers, you can just run > > /lib64/libc.so.6 --list-tunables and get back the list of tunables and > > their min, max, and security values. > > Adding an argument to libc.so.6 is difficult since argument passing is > processor specific. Adding --list-tunables to ld.so is more doable. But tunables are in libc.so. -- H.J.