Received: by 10.192.165.148 with SMTP id m20csp3182295imm; Mon, 23 Apr 2018 01:57:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/a77lbITDz1owB2w1Wb9e23daavP1ORsxShc5MID2eziKhHKpw8pHQHvh3J8InidqCZvwq X-Received: by 10.99.123.85 with SMTP id k21mr16701293pgn.364.1524473840171; Mon, 23 Apr 2018 01:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524473840; cv=none; d=google.com; s=arc-20160816; b=xy/OnU3Lestux84ge2TL/sbhCERb6qhdW6dA0BYiZjY7Ixf1ewkx19ktoPJaPuAPOM PK7nddFyP0fTqhh3puCSGJZOoX4nwOOdMnq53R4HEvWbWOIkBw2lCJ74vcEr/d/VdyuT 6YMtHCdz0eCOPuB12JkW1xOklBBq3/tlcNVZvaNPekgyc5vM58+yfsNfgJWZeAoSaOUs ESucm2jc1uwW/3BnprjvJGJcVwSB01VQSb1rbTuRCOf4Qi/ZHRAZknQJ+bpkmXj4Hm/N mVQrzTzQqIXTcii02T9ZfYLZXTCOIXwiaNqzqZ1oOPzdqOHYmXMhyXtMjEaCgF/7epTb I2aQ== 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=M8PYZEjI0Z+RbB70ECAAqnL+8UDWtZHBCaQJVIv0GgA=; b=V2UxeYR0uIhMuiZI/2cQES3qpqxz2dYWLHJTD9umGigx24WPGCWuqPSskOftcvF62t 7ZyISr/7uyj5cwh344LlHWXrZDCZtkJLmwHQbEnpZse0dSnhpAnso8YgqkCtHp2J9MsG 62Q4agKM4dOM4qcTS8MyFpfhJbG5Qv6vBspY+IeE4Naz8cuq34kprvWLqxWKoDEJG7Vy 8vYJgKjbSWXChz89VEucmbIQ1mD+sbmD8pmKcIBbGO8F26Ur7+RaHa4P97VR1/xJi1lr TRC1gcENbpQa+laYoSZjsZynJYxab2TbvURSLndrscCLOwX9JmxOmI7rjUIxpgqpcwUK K3Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=dSrryQe+; 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 2-v6si12086332pld.596.2018.04.23.01.57.06; Mon, 23 Apr 2018 01:57:20 -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=dSrryQe+; 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 S1754634AbeDWIyP (ORCPT + 99 others); Mon, 23 Apr 2018 04:54:15 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47688 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754152AbeDWIyL (ORCPT ); Mon, 23 Apr 2018 04:54:11 -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=M8PYZEjI0Z+RbB70ECAAqnL+8UDWtZHBCaQJVIv0GgA=; b=dSrryQe+gTabYqn+xZ8n5CMUV WDWBHJPzEkihrTvrTzRCV4HImBuQp68XzW0TKxZp9zO269hbHhcedy8qvTC3Wd0Ag11T+XBOzMhjP kL+bic+6rX7P3Lw9oBdkezNXsqAz9NGbDDqVsVj75A1fK99pjMYWdXgrwvBFcMLapQGOU4elv3NiY nXVskqhVu7r/qF3H4U0zX3rLOH/UxdpUH50EPZ0JHjaQWAS8wy/XPDPTnCTP+P+6+Ff8/r2qGL1/V k8panlDKQskLDrk2W0I1Z9xHELET8zUcQtAeRsvl+zCac/CUyAK6OTF0hBn5wpT4J+UFixklHqqXo PL0mJoXew==; 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.90_1 #2 (Red Hat Linux)) id 1fAXEL-00064K-MD; Mon, 23 Apr 2018 08:53:50 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4EE82203BF9CA; Mon, 23 Apr 2018 10:53:47 +0200 (CEST) Date: Mon, 23 Apr 2018 10:53:47 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel.opensrc@gmail.com Subject: Re: [PATCH tip/core/rcu 06/22] rcu: Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs() Message-ID: <20180423085347.GS4064@hirez.programming.kicks-ass.net> References: <20180423023150.GA21533@linux.vnet.ibm.com> <1524450747-22778-6-git-send-email-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524450747-22778-6-git-send-email-paulmck@linux.vnet.ibm.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 22, 2018 at 07:32:11PM -0700, Paul E. McKenney wrote: > Commit e31d28b6ab8f ("trace: Eliminate cond_resched_rcu_qs() in favor > of cond_resched()") substituted cond_resched() for the earlier call > to cond_resched_rcu_qs(). However, the new-age cond_resched() does > not do anything to help RCU-tasks grace periods because (1) RCU-tasks > is only enabled when CONFIG_PREEMPT=y and (2) cond_resched() is a > complete no-op when preemption is enabled. This situation results > in hangs when running the trace benchmarks. But a few patches earlier you tried to address that..