Received: by 10.223.164.202 with SMTP id h10csp1679624wrb; Thu, 16 Nov 2017 02:24:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMbE0qhl0J7LHwdTbA3+aAI/m8Tk+Z+9x85XU5KbTs1ggtF6ME2LHk3K6RUOhel+6EMWgLYS X-Received: by 10.101.67.66 with SMTP id k2mr1201992pgq.20.1510827877685; Thu, 16 Nov 2017 02:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510827877; cv=none; d=google.com; s=arc-20160816; b=D5ED27Q36mBtIrzT1h1wubZzly65pN+ZVeiKXKWhTJM6UyvZLNKeag7MDNWmm3UpUK 32eoXHe9kjxvX8E38S81+6qvCACNEHazn9sMdCFJ3hFqjlT4GNkeE1hVos/sMbwn9JY7 92q2MJyR2LI/bTxE3VIlj+fjdjvUzbM9ZnF2VV1/HJhRJq7kt1ohvsLwr1TGj7HGSPsK egFIfdPx5BXWb3r0n18FUUs2kHupsLyE1CzsSNTY786DO0uz6hahMLJBsfUVUmB8AojA QF39xLuskGO0JDyC8n3wtwA/O03S/9vfq4TDRr8kCCBvUWtUBJucNSDbnBjLFsFbnwYA IgTw== 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=r7FI955+sPphPXfTjB04jClguJKMdtKPoYB+vGn5wHY=; b=yq5T/zgFqVAk2eZ0xuJKdybKsWI50c8gEZtGv+Bbcvg16GKOMtw/pONKbZ+z78cy1v VVh3F7ZUwX0s60wVgb2XsxYI8/C+uB30y82H+UGsiMnbea5YK6NTb1SPy9QSRQAxvB39 sEhxkl9nfRcdw48i0H37DdjqXTEYoOF15fA94ot3cqw1nNld4M+ZXxlQtH3r5O9D/U0E OJFvCoM77NbIFmz8tlbWOYi7NJwZEYAVhl5PTGrIqc9PcX4DoAHL2oacunGnY5q+p+2x qnDOeax+Sl6ZTi0NKPh1CSmyhG+RvmrSIIgntNUDMtg+dO2hxKCK1dbu7hFBtKszAhPJ yFFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=N4jJcuiG; 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 j70si633654pge.82.2017.11.16.02.24.24; Thu, 16 Nov 2017 02:24:37 -0800 (PST) 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=N4jJcuiG; 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 S933930AbdKPIq1 (ORCPT + 91 others); Thu, 16 Nov 2017 03:46:27 -0500 Received: from merlin.infradead.org ([205.233.59.134]:56908 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932446AbdKPIqU (ORCPT ); Thu, 16 Nov 2017 03:46:20 -0500 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=r7FI955+sPphPXfTjB04jClguJKMdtKPoYB+vGn5wHY=; b=N4jJcuiGP2TD2ZzfGWpG9l44/ VMu8od2kp4uDsLtDqlcGtHe8BPd4i7nipnJmfO12sEGrbmw78fS7ZidboCAHvx10Rip95KP82ioNS LD/Ek6YPlAVAnp3nm3Z7r85AjV60IEYspotrV7X+9Rjdgpvg6wVmPyivP0vGH7b6mudWzO6RIIk+/ P0gnvoV24ykEDREeIC0chvpolHa5Wa6gtCQfpKts8wLVEFsCtZ+9KuZyv9RLU9VBCWUT9j6RXQ3Fk Wz9dxsLLxaKT1r8Mb4h6dJN5xLag5uKgcY+QqLr1F7uibl16xGRQXC9s+jQbPoVv/0iF2t+bLH94P KB9qJix0Q==; 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.87 #1 (Red Hat Linux)) id 1eFFo5-0001y5-9Q; Thu, 16 Nov 2017 08:45:57 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BB6D420292D27; Thu, 16 Nov 2017 09:45:55 +0100 (CET) Date: Thu, 16 Nov 2017 09:45:55 +0100 From: Peter Zijlstra To: Thomas Gleixner Cc: Quan Xu , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, LKML , virtualization@lists.linux-foundation.org, x86@kernel.org, xen-devel@lists.xenproject.org, Yang Zhang , Quan Xu , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Kyle Huey , Len Brown , Andy Lutomirski , Tom Lendacky , Tobias Klauser , Daniel Lezcano Subject: Re: [PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path Message-ID: <20171116084555.it2hqajxxd6ld5tq@hirez.programming.kicks-ass.net> References: <1510567565-5118-1-git-send-email-quan.xu0@gmail.com> <1510567565-5118-4-git-send-email-quan.xu0@gmail.com> <20171115121152.gqug5wzerlo3eimd@hirez.programming.kicks-ass.net> 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 On Wed, Nov 15, 2017 at 11:03:08PM +0100, Thomas Gleixner wrote: > If I understand the problem correctly then he wants to avoid the heavy > lifting in tick_nohz_idle_enter() in the first place, but there is already > an interesting quirk there which makes it exit early. Sure. And there are people who want to do the same for native. Adding more ugly and special cases just isn't the way to go about doing that. I'm fairly sure I've told the various groups that want to tinker with this to work together on this. I've also in fairly significant detail sketched how to rework the idle code and idle predictors. At this point I'm too tired to dig any of that up, so I'll just keep saying no to patches that don't even attempt to go in the right direction. From 1584216194250926452@xxx Thu Nov 16 09:58:16 +0000 2017 X-GM-THRID: 1584141070007959176 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread