Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp906265img; Thu, 21 Mar 2019 11:25:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqisMlRuIxIIG7Xws8eapxWXbYkO5C6LVoXGXNpFc/kA28QojAlBkIlZsEPSCwXw9fuRI3 X-Received: by 2002:a17:902:f24:: with SMTP id 33mr4760662ply.47.1553192724321; Thu, 21 Mar 2019 11:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553192724; cv=none; d=google.com; s=arc-20160816; b=SaB9j+yzNGReqSyj56dQu0dhitkCaA6fasmasdXGPtgOz67qfPjCup15hh9zd3IeIB 4XgSDxbHVgvGr0NGqNaf/3CkkleU6egQIce7D+fEoD3sBTSYqcMP6giwKz9jp5T/WLAE 3XCVWY0JpTwf6AW++ue0yep7SK3dv09rLvMRjFLjJ5Y8tNXsuS+6sMyk8J9u/T8k2xnL 1UfOUSNm6L1Ruf58XrZQQ9juYK1ETfTn+7TV/e+7sNOKGNEoQyHGOHiS4B40dPXxy6k/ mBFrv7PV3A4GEyS6UZp1fwDQMP8VXaxEM+CGakwYw6sDc1ZouKKJzAhA9WUDM8RHnkfW XSGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date; bh=vFqAsHhFAgUxx3XY2mYScMRTEjsh19NjlYUaZpmYjCQ=; b=xWoNi/m6OUU2PdlyVqDC1SXla5Pn89h17E3K7D0Urh2s2QPZFkCyjx7DHeBPeGtfDx idN8uYLN37Ha11x7r6j5z0zekrNgULN8z+5mf1LDDWbpqPXr9bDzov+MygQLDLPdTjEP xcpLR8+Ap0JiYfCloDYWDji3BpJL83SrBKYt4efIMYQfvrqVxqeCJJ3iMEci31+Jkd5e 3xDttkVCGXFnWhsuqQGsb/yPfCydwc1H6W+bXQqypTWeYQ0PARFOyVBs4JWrCxuiw5MO DfSQaYT24t6kyDEzYVNZDtmqocWHWQPHYe9RU7D4A1BfuqOuOwL398CVJxsIBPK6TctH ijzQ== 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 f11si4393630pgs.291.2019.03.21.11.25.09; Thu, 21 Mar 2019 11:25:24 -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 S1728766AbfCUSXI convert rfc822-to-8bit (ORCPT + 99 others); Thu, 21 Mar 2019 14:23:08 -0400 Received: from terminus.zytor.com ([198.137.202.136]:42855 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbfCUSXG (ORCPT ); Thu, 21 Mar 2019 14:23:06 -0400 Received: from [IPv6:2607:fb90:3258:198e:38c6:f38f:7326:f16d] ([IPv6:2607:fb90:3258:198e:38c6:f38f:7326:f16d]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x2LIMORg236852 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 21 Mar 2019 11:22:26 -0700 Date: Thu, 21 Mar 2019 11:22:22 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <20190320221534.165ab87b@oasis.local.home> <20190321083317.GL6058@hirez.programming.kicks-ass.net> <20190321090241.GL6521@hirez.programming.kicks-ass.net> <20190321104517.GM6521@hirez.programming.kicks-ass.net> <20190321093242.4a948198@gandalf.local.home> <20190321172203.GS5996@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [RFC][PATCH] tracing/x86: Save CR2 before tracing irqsoff on error_entry To: Linus Torvalds , Andy Lutomirski CC: Peter Zijlstra , Steven Rostedt , Juergen Gross , LKML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Joel Fernandes , He Zhe From: hpa@zytor.com Message-ID: <452B5054-91CC-48EE-A500-C251223B8F2D@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 21, 2019 11:18:53 AM PDT, Linus Torvalds wrote: >On Thu, Mar 21, 2019 at 11:05 AM Andy Lutomirski >wrote: >> >> In the long run, I think the right solution is to rewrite even more >of >> this mess in C. We really ought to be able to put the IRQ flag >> tracing and the context tracking into C code. > >Tangentially about this long run thing - can we start discussing just >dropping PV mode entirely in the long run? Or even not-so-long run? > >What are the pressing advantages of paravirt these days? Because I can >point to a lot of pressing _disadvantages_, and not all of them are >about more complex code as shown by this patch... > > Linus God only knows how nice that would be (for things that aren't naturally driverized.) Last I heard, which was quite a while ago, the big problem was that the Amazon cloud runs Xen in PV mode... -- Sent from my Android device with K-9 Mail. Please excuse my brevity.