Received: by 10.213.65.68 with SMTP id h4csp458576imn; Tue, 27 Mar 2018 02:38:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELuhN2h91vkX16EDqqNi+fj7sUoVli3BX2aYvdGM049XZdhxvALLBm0dnFoqIp+BJKsGFkIi X-Received: by 10.101.98.145 with SMTP id f17mr13326778pgv.398.1522143496958; Tue, 27 Mar 2018 02:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522143496; cv=none; d=google.com; s=arc-20160816; b=cYBFcnC1C/s7pTUV9ktC8gHLV1+MBBVkUExhpUA1xKMZ59e9A81LrPWhloq0+Yrrdr wrnEY9KLLP5LcSACrI19LhfFG95fpvw3KDfZIyd8cXZmO3QKqec2C9P3R/ewg/SoA62e YChinxpgxiw8a2Cj03MtwviWdgdxlgdzYaMsy96/ilq9kyP0XnzTJ86d5HUkgoN9RDhc XTMsieYTwteQRrnCrzTkoiqXLeBnK+c2uU16PQFjsIgCBRrUubtX5rk4oe27u7W/RsFk HGQ+EMtHMDQv1gKpLT5fxIb90ovsKSZoze1pP/53g+RT+A8loYjm174KflrvE7rMNXFL gb+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=BM1LWHiHEI5raV2Gp3ssOrNmjJDhwlHJrNFgoxazSkc=; b=yOkRF/JeAsThoCU/O1diBC0ErOvoobigzXRr0+pAvWrNH0ZK1ZwutjKYzxRrCh4FFo +jYLZqJ9j+/SJakCS69d7QVMvIO714/Ak6CK6uqhApDu/PlFyeh8ahrpShj8enwIqGIW J0W9XNQmAjHUxPSxLM23W6ze45E7BqAptmT8h7HxRFMaKlUPzeE8qhcPd07pDK7c8iKC Jr6pKklhxkh9P3uHp9y1UwkPulO0oeFGfTH2ow7qBaUFAsL3ELjGACP7sduywxavhC4A BqVZFbB20wnfKjImvh5M2KUcq44TGzFj9WUu5fDJamy+8SMG+TMeXb6zi7UcuanUk9tl 1xKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fLUHwXap; 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 m77si717509pfk.56.2018.03.27.02.38.02; Tue, 27 Mar 2018 02:38:16 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fLUHwXap; 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 S1752112AbeC0Jgy (ORCPT + 99 others); Tue, 27 Mar 2018 05:36:54 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52278 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbeC0Jgw (ORCPT ); Tue, 27 Mar 2018 05:36:52 -0400 Received: by mail-wm0-f66.google.com with SMTP id l9so20431056wmh.2 for ; Tue, 27 Mar 2018 02:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BM1LWHiHEI5raV2Gp3ssOrNmjJDhwlHJrNFgoxazSkc=; b=fLUHwXapA+2ThqyqM1RyvaiwgBMruwFfDA5xwCeT4bE9CXxi5RH8QGnyArkysepKSS Akyzov6WFYfr5NCklo16sEgUMSpjahePEpCuaHWXxfcsxQmaeJDNwgDqBWGcuuW6liN0 6PZke6fOWvluzskN36OkoTa+TbcgK6jgxRYzG4bAcuR6+WgcjkEVQKNkBv2uxnpG1Q+X jXTWIOCRyyQSqxZJMKSavPVBPOBWJIzNOEo5cPgwiStkmExN1FMP/HY7CQw/WwE4HSIi 4RvrMWSr844bCkZNa1/4O+aKxq9phEyCgmLUAwizovNNd/+tJ6qLvxyyP94Vd8/D8Ik0 GlCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=BM1LWHiHEI5raV2Gp3ssOrNmjJDhwlHJrNFgoxazSkc=; b=N8BzSBAJ5NcEsZI7RCWTqx+j8uH8qEu5GdOrhontrZhmdyhrNb91XBJKMjLEcxjX2A Fwagxy5YYKWFaqMUxc5MmMmIariiNwncCm4sl+xf5CdVvWBXVuKOBrqIlu7UX0pgGgLj 6biFAymeoHDFmmnYK1RM5EZphncfD43LNL95b3eb0Ep8Y1sZWRD1SrucKAKieFZlysL3 ZgFiiZx+Z6PEBQmwAjanXzdt1vJmqD5Z6yzIWZX2VG7Px2IvPAEuvrmLmcITEGkGHfOL HXj9lIZoM2LXh0/kGuNEHXQS2fZmHc6/eNUdtEhj6th4hGF46JewEInBo1BJI0xVZimx uDzg== X-Gm-Message-State: AElRT7EkkmGYxCMF/qWaVwVg9G5pUllGQSc/IgOAgQANYz3W7LkzAfok LtrcFxNJMdv/SNe2z8dG9UQ= X-Received: by 10.28.54.220 with SMTP id y89mr17424145wmh.108.1522143411452; Tue, 27 Mar 2018 02:36:51 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id h20sm807644wrf.65.2018.03.27.02.36.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Mar 2018 02:36:50 -0700 (PDT) Date: Tue, 27 Mar 2018 11:36:48 +0200 From: Ingo Molnar To: Thomas Gleixner Cc: Eric Dumazet , 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 Message-ID: <20180327093648.iba7rzvviolyjgmt@gmail.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Thomas Gleixner wrote: > 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. Ok, that's a good point, and the patches themselves are sane: Acked-by: Ingo Molnar Thanks, Ingo