Received: by 10.223.185.116 with SMTP id b49csp5332048wrg; Wed, 7 Mar 2018 09:59:18 -0800 (PST) X-Google-Smtp-Source: AG47ELtI69BcoWhs7Rb7DaJmKDTkaBmwXUo9ItLrE8YvuhD2d4W66yGSy336x7N6uPRIni471Lv6 X-Received: by 10.101.66.196 with SMTP id l4mr18706206pgp.66.1520445557966; Wed, 07 Mar 2018 09:59:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520445557; cv=none; d=google.com; s=arc-20160816; b=SiQYJJle2u+quh8Kz4e8dNyjocAFUkwdRFuML0ZyuOh7XQs2hpbiOA9J3Nd8qBC8u5 XOgsPfAXfO8Rap6QnGUGNif2q1koPTzmCe4tJKV5BgEvXkfj5vjSj6oR3x/cN0+yqLLM eGm0hhIuDIrmftYu5AEwmhw2cz8XKOj1MqUbqhWb0n+ThshwLdpkBoTQkcr1O4wqaKQQ ba3+0e1CvPlAqqXZVmV9NyUhCL8+RKB2LHluVXucSZDA7NFJnQJDHDX7m6bh5R3YnLW1 7zt5t9Sr1jX8UB+Bk/vPW/mjLRQBL6S39BvVbrCA33e5vKn6HKpkjds7wadRm++QnBvn UvFA== 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=Rwuwv+oYg7dEnQftSE3NysXbbJphjgGF3sr0TkTkhF4=; b=goes1X65z5VFt9vKbGSb8Du5npkK2dZiT4AvUAM889VC+XCWwSQXyxF6s4r6KUoZz+ KEyglpTT9PGubV9hKN4TnWRXwpcOVhnBgN2tv82w9drmL1DXcc1ff0fCetW8bGknUKgc RSyxXWkS4PulnT251Wf1NIATeOkacEWf7BpmsvcZeLkhU9f3fvx1YW6/4khfgLB8CBEd OFTrtoSVorHl65u1vNru/uVz3izUbjAguh409Gpxjw9kQCvRTfdLQNFHgP1UR1kSH2Ya eq7uigX7m01+cxcqHVMeg/L/TpjLah1JdJYOH9ZsQh8XrfjdNMhGYrHWUDXn1nvHETck Y+2Q== 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 u10-v6si13031088plu.509.2018.03.07.09.59.02; Wed, 07 Mar 2018 09:59:17 -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; 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 S1754544AbeCGR6F (ORCPT + 99 others); Wed, 7 Mar 2018 12:58:05 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34882 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754039AbeCGR6E (ORCPT ); Wed, 7 Mar 2018 12:58:04 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w27Hu96j018871 for ; Wed, 7 Mar 2018 12:58:03 -0500 Received: from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gjhceths4-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 07 Mar 2018 12:58:03 -0500 Received: from localhost by e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Mar 2018 12:58:02 -0500 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e15.ny.us.ibm.com (146.89.104.202) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Mar 2018 12:57:58 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w27Hvw5H40960172; Wed, 7 Mar 2018 17:57:58 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 258C3B2054; Wed, 7 Mar 2018 14:00:13 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.80.193.224]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id DC93FB2050; Wed, 7 Mar 2018 14:00:12 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 6D03516C1835; Wed, 7 Mar 2018 09:58:33 -0800 (PST) Date: Wed, 7 Mar 2018 09:58:33 -0800 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Lai Jiangshan , Tejun Heo , torvalds@linux-foundation.org, jannh@google.com, bcrl@kvack.org, viro@zeniv.linux.org.uk, kent.overstreet@gmail.com, security@kernel.org, LKML , kernel-team@fb.com Subject: Re: [PATCH 7/7] RCU, workqueue: Implement rcu_work Reply-To: paulmck@linux.vnet.ibm.com References: <20180306172657.3060270-1-tj@kernel.org> <20180306173316.3088458-1-tj@kernel.org> <20180306173316.3088458-7-tj@kernel.org> <20180307145408.GC3918@linux.vnet.ibm.com> <20180307162317.GO25181@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180307162317.GO25181@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18030717-0036-0000-0000-000002CC6BF7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008630; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00999671; UDB=6.00508503; IPR=6.00779076; MB=3.00019896; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-07 17:58:01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18030717-0037-0000-0000-000043919BC1 Message-Id: <20180307175833.GF3918@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-07_09:,, 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-1803070205 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2018 at 05:23:17PM +0100, Peter Zijlstra wrote: > On Wed, Mar 07, 2018 at 06:54:08AM -0800, Paul E. McKenney wrote: > > One downside of allowing RCU callback functions to sleep is that > > one poorly written callback can block a bunch of other ones. > > Not to mention that we really want the RCU callbacks to be simple and > short. Needing fancy things in the callback really should be the > exception not the rule. Very much agreed with that as well! Besides, Tejun's queue_rcu_work() provides this functionality and seems pretty straightforward to use. Thanx, Paul