Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp587931ybz; Wed, 15 Apr 2020 14:37:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKO1jrEEa0NMTJTKqD7ju5kHwxIohGcXVs1n8T05+C5QiY+T1+RBQfNmW8UgWoSDcQJjV7E X-Received: by 2002:aa7:c688:: with SMTP id n8mr27960695edq.120.1586986667949; Wed, 15 Apr 2020 14:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586986667; cv=none; d=google.com; s=arc-20160816; b=UWRmUQgc2LqISBcTwlHMzzwtJY+RCeHE0bs1+0mEWgY0A/Ab2ShDlTLjdhMHJL1Grc gCfhz4rvYCBqBWWgXYrBOR0IfNreUl38LYpcK7IDgfQPPRNflfPW+/mkw0PEFdPLrPo8 coY/G3JtSsPGy9gWjj/ZBiI4uq5Xcy3b/KxISJFZUIrHvNRKJgUoDTRG3hAQvSoBi47C p622/qmPjNnrAaw0MBv0B7N8G/h02L/Pb6w/eI2O+KGn6zHT3zxKowKZkSp5B8WKofxX 6+itDWvT03QyQ0nNhog8UKdg/+7i8irsuzJ3+JkhGh7ZyTYsxeTcXtVByHpRz6yBu/iI YRFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tla671Fmro8CIHThx1Xf7leHF3ClxMWQwFBU8nfoPaE=; b=0+UJFtd/9LBPnt2rO8JrLEf+7hJiMBis07P4RGL38xLPvUHOhkpsPmgi8BbBBnPcYY z5IUhUmhCmhhtsZFw+v+v+m5n+KM16Fu7rzoLwKh2PK6Vj+cvGd0P/YiQGomQeKqO7ed FqikQjyKNtYGt5nB+oE9k8FpRN1iZgLZ/Fo1m72AxChmBLmm5Pu94iQoCnTvEz2cPduu NpUkSjYRNx5c8/lVXoJ/vFOrSnLnrulmjSjqwXngqxrQH7qzFajmWvXXcL4mT+5XxK5z GtuBgfwI545opcUvIr/hDCdPHUKNGtfWBT6SLC/VGWIPOuJ59sYhtmNi5ZrDH/1SUNqH hQvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ndtMzIgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si5580282edl.244.2020.04.15.14.37.24; Wed, 15 Apr 2020 14:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ndtMzIgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389935AbgDNOW3 (ORCPT + 99 others); Tue, 14 Apr 2020 10:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389893AbgDNOW0 (ORCPT ); Tue, 14 Apr 2020 10:22:26 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0779C061A0C for ; Tue, 14 Apr 2020 07:22:25 -0700 (PDT) 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; bh=tla671Fmro8CIHThx1Xf7leHF3ClxMWQwFBU8nfoPaE=; b=ndtMzIgwj7ZmUHHcYr3pyLR8ca jcwbT+zKddchRHAGhucg7kexaPD1tGAYmuJJls4zHeW6GwOj1zIFjSMu++Myrydm64IgXjKWqsub/ fa97XEJpdEjDgcROM2M7O8XpMsd+qe5sdMtTbUd6kP64hYKgfRH15ddB8ACZiF/Sa0uXPrdTxX9dl BTBSpj8q6AoEnt5shPPASCMWodPj2KmFI5KncWzPJ1JS6kt4G6g7Fga0UpbXx1HtvyTUA7iyuc6Fc QdcNkyVJ1R73Y6Lq3pMOlae+ldVsoTLjQwLDExGpsb6wIYeBl0QcC3GrIBhp8JPIsEE/kcIVrm+As pstx3s1g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOMRm-0001u5-VR; Tue, 14 Apr 2020 14:21:55 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 007F63012D8; Tue, 14 Apr 2020 16:21:53 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DCB5F2B22FBE0; Tue, 14 Apr 2020 16:21:52 +0200 (CEST) Date: Tue, 14 Apr 2020 16:21:52 +0200 From: Peter Zijlstra To: vpillai Cc: Nishanth Aravamudan , Julien Desfossez , Tim Chen , mingo@kernel.org, tglx@linutronix.de, pjt@google.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Aaron Lu , Aubrey Li , aubrey.li@linux.intel.com, Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , Joel Fernandes , joel@joelfernandes.org Subject: Re: [RFC PATCH 00/13] Core scheduling v5 Message-ID: <20200414142152.GV20730@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2020 at 04:59:50PM +0000, vpillai wrote: > TODO > ---- > - Work on merging patches that are ready to be merged > - Decide on the API for exposing the feature to userland > - Experiment with adding synchronization points in VMEXIT to mitigate > the VM-to-host-kernel leaking VMEXIT is too late, you need to hook irq_enter(), which is what makes the whole thing so horrible. > - Investigate the source of the overhead even when no tasks are tagged: > https://lkml.org/lkml/2019/10/29/242 - explain why we're all still doing this .... Seriously, what actual problems does it solve? The patch-set still isn't L1TF complete and afaict it does exactly nothing for MDS. Like I've written many times now, back when the world was simpler and all we had to worry about was L1TF, core-scheduling made some sense, but how does it make sense today? It's cute that this series sucks less than it did before, but what are we trading that performance for?