Return-Path: Received: from mail-pl0-x22e.google.com ([2607:f8b0:400e:c01::22e]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fLsJn-00029o-0c for speck@linutronix.de; Thu, 24 May 2018 17:38:19 +0200 Received: by mail-pl0-x22e.google.com with SMTP id f1-v6so847576plt.6 for ; Thu, 24 May 2018 08:38:18 -0700 (PDT) Received: from i7.lan (c-73-11-52-149.hsd1.or.comcast.net. [73.11.52.149]) by smtp.gmail.com with ESMTPSA id z83-v6sm41279181pfd.103.2018.05.24.08.38.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:38:11 -0700 (PDT) Sender: Linus Torvalds Date: Thu, 24 May 2018 08:38:09 -0700 (PDT) From: Linus Torvalds Subject: [MODERATED] Re: L1D-Fault KVM mitigation In-Reply-To: <20180524094526.GE12198@hirez.programming.kicks-ass.net> Message-ID: References: <20180424090630.wlghmrpasn7v7wbn@suse.de> <20180424093537.GC4064@hirez.programming.kicks-ass.net> <1524563292.8691.38.camel@infradead.org> <20180424110445.GU4043@hirez.programming.kicks-ass.net> <1527068745.8186.89.camel@infradead.org> <20180524094526.GE12198@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Thu, 24 May 2018, speck for Peter Zijlstra wrote: > > > It does still depend on gang scheduling (or at least forced sibling > > idle which is a subset of that), or a singleton vCPU might *never* get > > run. But we were going to have to do something along those lines > > anyway. > > Linus has opinions on that.. Let's call them "beliefs". I don't believe for a moment that anybody can come up with anything remotely reasonable for gang scheduling. I'm willing to entertain the possibility that some really smart person can solve the problem cleanly and without messing up anything else. I don't think it's remotely _likely_ to happen, but I'm willing to consider it within the realm of possibilities. So right now, I consider the gang scheduling a pipe dream by people who underestimate how hard and ugly it would be, and often have political reasons why they are pushing the idea (ie they want to claim it's not a hardware deficiency, but just a small software problem). And I do have opinions on those kinds of _people_. Linus