Received: by 10.213.65.68 with SMTP id h4csp1430517imn; Mon, 26 Mar 2018 07:24:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELv1rv2RHYFCZGtYHWQUEL8YCH69UCbMCFNzp2F47hu7tRV5ZrsSAfNF68jK5UH0DOt5aV0B X-Received: by 2002:a17:902:51c3:: with SMTP id y61-v6mr35776429plh.101.1522074270497; Mon, 26 Mar 2018 07:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522074270; cv=none; d=google.com; s=arc-20160816; b=eA38aEMyuc7ARYwL5KqMeH6frbLhXmSKD8+vtVvip8hDS4AS2YByzqcau1t9R9aump QHXaJGMEgmDcMYPizwejnxDKipc0iATSzOI5QNW/ONQ8qp/YpqrJ/CVUjSKHl00tJNF7 PF9Ir9Ki83gLCxnmRTSnvKupIbNWCKtNGdkBZeiJU5zmGu8Axx4Zm6vmiZTQimo/AqjC SN3gDG4C3S6o8bPU5/tcA8lr32DJLp1oBcIbPUdJwfwBIUa3nD2jP/nEPgumWlvQFH+9 7oZzZtnjwwUIa3QEWL6mH1zI6aZLBoPKiJCjf+Vv7YDJ8e88qf6ycLWyxQGn6BnWp8mr L5hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=cJqaLrdaBSRffuyok7PAiVWh35amP3QY371vQC4KfvM=; b=ad7/EWlYU7ZMuZhJd65BeXJ1lWQyNNs4xnmLPrPMWQoFe6ojdl1LDf5LFcgey+r+i1 lr21nQOHCXsn29Ltwguht28Hs1Hi2ZQ70MQW8ctmCXfF3TEZboFBY+gNt4MxoAfxXy8f aqHINXNURhdZcWJpZoY2+sWQHXfbVfHmm5kVPJt1qGdD7X/d8F52jrxczySwqDV/6kKj 6UUqoIiBTD1cZnqA/NsTGRwdQqWthYXnFpNz8NJmImcWFbub8xn8mqpe1ZWeW/7ncTfR W45x6UDchaS2civYSSsTxTlAcK42htInye2XI1qI8pH/z11BUc05t/eTcAL6sDEhpaSz FTOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12-v6si15778932pli.492.2018.03.26.07.24.14; Mon, 26 Mar 2018 07:24:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752006AbeCZOXK (ORCPT + 99 others); Mon, 26 Mar 2018 10:23:10 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:45666 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbeCZOXJ (ORCPT ); Mon, 26 Mar 2018 10:23:09 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1f0T1a-0000mD-Kr; Mon, 26 Mar 2018 16:23:02 +0200 Date: Mon, 26 Mar 2018 16:23:02 +0200 (CEST) From: Thomas Gleixner To: Eric Dumazet cc: Ingo Molnar , Borislav Petkov , Eric Dumazet , the arch/x86 maintainers , LKML , "H. Peter Anvin" , Ingo Molnar , Hugh Dickins , a.p.zijlstra@chello.nl Subject: Re: [PATCH v3 1/2] x86, msr: allow rdmsr_safe_on_cpu() to schedule In-Reply-To: Message-ID: References: <20180323215818.127774-1-edumazet@google.com> <20180324080946.3db4xdkl5i6jx2rc@gmail.com> <336355a3-c11d-44fc-0642-671670980ac0@gmail.com> <20180325141242.GC21878@pd.tnic> <20180326064042.c6xod5n24kqttdiw@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Mar 2018, Eric Dumazet wrote: > On Sun, Mar 25, 2018 at 11:40 PM Ingo Molnar wrote: > > If performance matters then the relevant MSR events should be added and > > gsysd > > should be updated to support MSR events. > > > > Thanks for the hints Ingo. I have forwarded them. > > I am pretty sure gsysd was designed and written years before perf even > existed, > so I am not sure all this will ever be implemented. > > I guess I will apply the kernel patches locally for the time being. I'm still considering to merge them because there is no real reason not to do so. The interfaces exist and are used. Reducing their impact is certainly worthwhile. Thanks, tglx