Received: by 10.192.165.148 with SMTP id m20csp3575499imm; Mon, 23 Apr 2018 08:47:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+H5Tx8b9Gydu8MtXKfdOTIb9OLoYvnsZH7tLRIlB8hg/Il81XqS2hnH0t4kU5CnFeoSN+c X-Received: by 10.99.55.68 with SMTP id g4mr8434965pgn.283.1524498445399; Mon, 23 Apr 2018 08:47:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524498445; cv=none; d=google.com; s=arc-20160816; b=gbGE7GUiqWV4XBLXir1aQ/Jd2gt6Vc6R71aQgrAErgdF99Rx6SYiRuMrYR6fKL4JXq g2MFDSG7B24BosUDUnlx3o8+jtW2PxzL97B66BSQ0CS/ZUEGeueLPNFW7uvrQAvoBk55 /f5u5JhEGBhtItnAh3gv52FWmBk18rX19S5LFuVEsuRBnNyBmxzfyINx3hZaU5859xbM JHQzjh/6dNk49PFtzHfs76nnCh82B+ShLl/UGUpJ5hQTEvy1lPTWR7k6w0/WvA1n5TJ6 nYYWEGUf0UlI3HDDVHjBxnEvY4VnHd8MLIBdlM7KpdqYfVXvOnGjjcGAb0h9bWUco/vZ aO7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=4IqJIrrwpg9iwXj6t/T/6inpLWlsLILXWuakG3Cg4u0=; b=q1XiGghznE2IubSKwXg5ogemJLB+PIVJ+fR4cwBCxuz6HA9NKDHKIKW3IUriCE5nFp n5C7sWCcdDlbia7/ZRV2b4Pi5yjiBCgLsUZPEXgRNQP6IXo2BBkAINH4ozgufNlz5tMI FZVVdWub1D7IylzzHqu2Wc4RAHWU+/5bq8l8PuAr7UmeBHQEge87aBRSsXQfwknQqS+g szbMF/wWGhHrWiyjPTbJKHNXXpwKmznOaHKkwB3kudBf0M9oLaIquM82FnRKf99V3lgQ GKkNfPUdZSp2slzzZgv921JDNttFNtLpjcBZuu+mQQUDN2OunWVvqoaQN1jfsWRNXYqS ercQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a16si4856498pgn.39.2018.04.23.08.47.10; Mon, 23 Apr 2018 08:47:25 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755680AbeDWPqE (ORCPT + 99 others); Mon, 23 Apr 2018 11:46:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33392 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755244AbeDWPqC (ORCPT ); Mon, 23 Apr 2018 11:46:02 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3NFdaPi114574 for ; Mon, 23 Apr 2018 11:46:02 -0400 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hhgy7w1up-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 23 Apr 2018 11:46:00 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Apr 2018 11:46:00 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 23 Apr 2018 11:45:54 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3NFjspn56164516; Mon, 23 Apr 2018 15:45:54 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D66D9B2052; Mon, 23 Apr 2018 12:47:56 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.108]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 9EBF1B204D; Mon, 23 Apr 2018 12:47:56 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id E171516C4133; Mon, 23 Apr 2018 08:47:07 -0700 (PDT) Date: Mon, 23 Apr 2018 08:47:07 -0700 From: "Paul E. McKenney" To: Steven Rostedt Cc: Peter Zijlstra , 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, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel.opensrc@gmail.com Subject: Re: [PATCH tip/core/rcu 01/22] sched: Make non-production PREEMPT cond_resched() help Tasks RCU Reply-To: paulmck@linux.vnet.ibm.com References: <20180423023150.GA21533@linux.vnet.ibm.com> <1524450747-22778-1-git-send-email-paulmck@linux.vnet.ibm.com> <20180423085127.GR4064@hirez.programming.kicks-ass.net> <20180423124000.GL26088@linux.vnet.ibm.com> <20180423094742.6582e19d@gandalf.local.home> <20180423141038.GA4064@hirez.programming.kicks-ass.net> <20180423103529.36848ae1@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423103529.36848ae1@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18042315-0040-0000-0000-00000420A83D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008906; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01022153; UDB=6.00521692; IPR=6.00801388; MB=3.00020728; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-23 15:45:58 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042315-0041-0000-0000-00000826B23C Message-Id: <20180423154707.GP26088@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-23_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804230156 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 23, 2018 at 10:35:29AM -0400, Steven Rostedt wrote: > On Mon, 23 Apr 2018 16:10:38 +0200 > Peter Zijlstra wrote: > > > > http://lkml.kernel.org/r/20180227153646.GD3777@linux.vnet.ibm.com > > > > That thread using cond_resched_task_rcu_qs() seems like a _lot_ better > > than having cond_resched() semantics change depending on random > > !scheduler config parameters. > > Yeah, I agree. Not sure why Paul didn't push it. Maybe because I never > replied to that final email and he forgot? > > Paul? Yeah, I have been a bit event-driven of late. So the thought is to keep cond_resched() as-is and use cond_resched_task_rcu_qs(), that is after the rename, for the stress tests instead of the current cond_resched(). Or did I lose the thread? Thanx, paul