From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by sourceware.org (Postfix) with ESMTPS id 2AF3A3850426 for ; Fri, 18 Sep 2020 15:12:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2AF3A3850426 Received: by mail-il1-x143.google.com with SMTP id s88so6544151ilb.6 for ; Fri, 18 Sep 2020 08:12:12 -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=28lngwYMMkYuXRRiD3MbrY0u3NXlgF9LXfCyzC9aL/Y=; b=YXiepMef2+i54HfGMBzfg4MuhQnlaWHrc9MCEuPND507GEJF5FFp4/fImNAB04qFIy wxEyC8rS3kUS4/pKGVQ/cysVJnRFoYvAUZaZbpBFf136NYYxQ4aDcSoEDjPJ0uq+3Wk0 CfmQ9vPzqSKYkbz3D1iSe6sg/+spUlrU0kgMGJcp67tR2NgdmE2AyyxjOwKe7t3w2cRY NMuJuertDpSpU77R10vg6ZyGW81LtZz02Y6UIu7iXe78IDDLMRN8mE/ZySxT3bPaPbc/ gGMhS5LIxfU2nskWZ6RyyNW9kiZOpzl78J/TMLwD1Ut2pbGRXplS+n3UUpgYe256my2M TA8w== X-Gm-Message-State: AOAM531GGo2aqACcBBbhcLN4exj+F+eVR9johE9K24P62WlQt6wVMG3Y 8QxNrqAFli0CK6Dpy5Rt1VxZaNJdvPsDnO9u9rPEGNVh X-Google-Smtp-Source: ABdhPJyJUXE6qBIVsN5GdMB2rAGMVVNmqVoopmAIKf/J5kqPFHOZUjzgNmFHFNzvjO20b1iMf0EDQW2EmhcKa3OoD3Q= X-Received: by 2002:a92:ca85:: with SMTP id t5mr1053436ilo.13.1600441931602; Fri, 18 Sep 2020 08:12:11 -0700 (PDT) MIME-Version: 1.0 References: <20200912134441.2407884-1-hjl.tools@gmail.com> <20200912134441.2407884-3-hjl.tools@gmail.com> <87o8m38p3n.fsf@oldenburg2.str.redhat.com> In-Reply-To: <87o8m38p3n.fsf@oldenburg2.str.redhat.com> From: "H.J. Lu" Date: Fri, 18 Sep 2020 08:11:35 -0700 Message-ID: Subject: Re: [PATCH 2/3] Set tunable value as well as min/max values To: Florian Weimer Cc: "H.J. Lu via Libc-alpha" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 18 Sep 2020 15:12:13 -0000 On Fri, Sep 18, 2020 at 1:29 AM Florian Weimer wrote: > > * H. J. Lu via Libc-alpha: > > > Some tunable values and their minimum/maximum values must be determinted > > at run-time. Add TUNABLE_SET_ALL and TUNABLE_SET_ALL_FULL to update > > tunable value together with minimum and maximum values. __tunable_set_val > > is updated to set tunable value as well as min/max values. Move x86 > > processor cache info to cpu_features to use TUNABLE_SET_ALL and cache > > CPUID outputs with the same inputs. > > H.J., would it be too much work to separate the generic and x86 bits in > this patch? Will do. -- H.J.