Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp847644ybi; Fri, 12 Jul 2019 05:38:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLJFcnfaJ8ds6ULAQi4zgBIdcQll0IeD7103glAseHmqlxN4hdQCcpV6hKoWwOF9Y0spOu X-Received: by 2002:a17:90a:ad93:: with SMTP id s19mr11553589pjq.36.1562935122069; Fri, 12 Jul 2019 05:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935122; cv=none; d=google.com; s=arc-20160816; b=iBZes6gFYcDEtFyZkdp5ipzusu6mzeUbU1LKGbC6TFH+dGHTM5Xya6NfpLgJZcOcyX CMsM0TEcUAJfuoXjq+kcN2aUDu3ztsUmAeYnBLn6dJUrn+rZ5CjlBqTox+a9FJJPuMiv syxFURblMiuyMY1uqTehICnRWB1zxwum50jcSKFPeO2m0nopTtC2S620I4UELjGTE2K0 7N4B9a8EjX4NvvoowSSK/j+6u0x9t+YMfqYY5tGMU7Gv/ZA5+Pp3X+Xidi8R56mMJEfQ MI1VfWsNEIHP3KtD4oeBsC8Bu8lMgze6DRVLPW2zvaWHqPgCufLtd3ovYJT1dP0avOrL Dr4w== 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; bh=PRvJtsiHkVhvqvxWg5gOuLt8FA07mI2n7b2F9lWVt6s=; b=yy3DxgYBey9LPfusRAP96TD+NfkNIfdWu/Yz45crboIHVFlaHCTUoJOlfRQEoNjBo3 4Wwp/fsAphiUNQLymxAqhYkMtSzXhxtbuI+8ZCB9QbwDBXIPr3flMNH8bPLa827+o6Ib QewZD4bHpGhModKa6X+xqbc4YOhbBF5uAvIovap7AahlZ7YJZHxRmrBjU7EEi1w3O5pr 3qk++1yRrok84wZGZtZyUCUxw+8hMeNKxslMU1hjmpT1t7EkyVz2WXA+ZW4b7rXlFkd2 zGfhtONYFMDADdgQeghRV5hwV7UkK9TR9aOiyovg4oiig6SV127qTZ0kKjVtRQZPn66W 2CpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=XWiPp5T3; 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 m67si8122148pgm.319.2019.07.12.05.38.26; Fri, 12 Jul 2019 05:38:42 -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=@infradead.org header.s=merlin.20170209 header.b=XWiPp5T3; 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 S1729363AbfGLMhR (ORCPT + 99 others); Fri, 12 Jul 2019 08:37:17 -0400 Received: from merlin.infradead.org ([205.233.59.134]:34172 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbfGLMhQ (ORCPT ); Fri, 12 Jul 2019 08:37:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PRvJtsiHkVhvqvxWg5gOuLt8FA07mI2n7b2F9lWVt6s=; b=XWiPp5T3wZ07wSFz7SP2NGQsi SARqMlSa4wSWOALaD9zIg48cd8FkwtQzlyIqn2H/VG3zk8ew8txJuiyK0bOkKModvW1URTSAtHINQ BZfWo+f5pIdJEIj7pAAvGEgTpPGjztlFq+c1d86X1AriCw0HX9pAgtl/T5P5ViqzB3YbIpgpshlHU P1J4uQYE12VLgjTpHpbC3L2N8BZKengJ4RvrWQRLvD4ZCTcLEujoFj57iE9i92rblgnnWe2dtnErg JISh4LW8iD+LzsB0jFgfRy48PCLVuwRGtiiYaxws8B1vrL+LnY4BgsRnlKs2MI4YxasxwKR7M1GTy hU+YmR/Kw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hlunH-0005Rb-23; Fri, 12 Jul 2019 12:36:56 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 65784209772E6; Fri, 12 Jul 2019 14:36:53 +0200 (CEST) Date: Fri, 12 Jul 2019 14:36:53 +0200 From: Peter Zijlstra To: Alexandre Chartre Cc: pbonzini@redhat.com, rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, kvm@vger.kernel.org, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, konrad.wilk@oracle.com, jan.setjeeilers@oracle.com, liran.alon@oracle.com, jwadams@google.com, graf@amazon.de, rppt@linux.vnet.ibm.com, Paul Turner Subject: Re: [RFC v2 00/27] Kernel Address Space Isolation Message-ID: <20190712123653.GO3419@hirez.programming.kicks-ass.net> References: <1562855138-19507-1-git-send-email-alexandre.chartre@oracle.com> <20190712114458.GU3402@hirez.programming.kicks-ass.net> <1f97f1d9-d209-f2ab-406d-fac765006f91@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f97f1d9-d209-f2ab-406d-fac765006f91@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 12, 2019 at 02:17:20PM +0200, Alexandre Chartre wrote: > On 7/12/19 1:44 PM, Peter Zijlstra wrote: > > AFAIK3 this wants/needs to be combined with core-scheduling to be > > useful, but not a single mention of that is anywhere. > > No. This is actually an alternative to core-scheduling. Eventually, ASI > will kick all sibling hyperthreads when exiting isolation and it needs to > run with the full kernel page-table (note that's currently not in these > patches). > > So ASI can be seen as an optimization to disabling hyperthreading: instead > of just disabling hyperthreading you run with ASI, and when ASI can't preserve > isolation you will basically run with a single thread. You can't do that without much of the scheduler changes present in the core-scheduling patches.