Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp201355ybl; Fri, 16 Aug 2019 22:22:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNK1o71fy9vgCq1tIKtxI2HNblWP3Ss9cVFvvOJDu3YLD2U5/t686TybPQJH6TF1c7/Oke X-Received: by 2002:a17:902:7c12:: with SMTP id x18mr12728307pll.123.1566019331127; Fri, 16 Aug 2019 22:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566019331; cv=none; d=google.com; s=arc-20160816; b=ayL6WP7DUegEe4c6aIJHh3g1cy84Kr0EAUezgldC/pDUU0fbP7ApLLh3RnyPFpxy5K qekJrT7+mRMG3yy3x+K6D83cHoyuGNGPuP4C5mguDJo0Qo+n93C9dFSFChoRKaibsuyu x6F8KJi9dC50C4+I7Y39Cs0bUj0gbh8KVhA5HYXZtQg57TVDDHCTUmYQvbY1V1dBWfEf 3rOsMqQn5DOBtttww9f2nzzyfCpaZQn2Nvdby9UGVH5BOQopPlG8xg0u6CQgxSvlmfVS jRbrAHBk8p/1hQUZSDoySoimo5DY8k5bc5iD9mGmW7uth07U+BuY9CfcnruMDcnrn/JO r5NQ== 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:reply-to:message-id :subject:cc:to:from:date; bh=g+TbBcHy86W/hYI1TFy3HEUzuL3gwJyCXC1deSfcrmA=; b=B1SSwQMMtG4qFfk7MtrehReuV4T0j3j3+tF4YOZRWzYPcy+Nd3qbxqb8BJdiqih8HP D37S1N1x2iSqEc8MAvrNI9hvo55cGNyqdt786yRroTr+bweoRKswE9WaoMrhI5NmS0a4 Y47L+Xg5nKjjixUdnLZjYmxcqWUePmtVQ1bSYU8WQkqjkzbv83+d8WIYDxfby3rtCpT0 jm+vYN+J0UqpIDgXYkHhHJ3cLnKHpqqSS0YW171V9BbmghoSrvgRztNLCV/U/V9AmfhZ F/BOEv+A1rIwT6R/JyE1g8FUnPbrEzLvtS+HzT6nWwFhJ6fHkfy37zARAy7c8gOpFLB0 lYGg== 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 69si5356530pla.262.2019.08.16.22.21.56; Fri, 16 Aug 2019 22:22:11 -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 S1726119AbfHQFVD (ORCPT + 99 others); Sat, 17 Aug 2019 01:21:03 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23494 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725562AbfHQFVD (ORCPT ); Sat, 17 Aug 2019 01:21:03 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7H5GZnR060951; Sat, 17 Aug 2019 01:20:27 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ue66yyb57-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Aug 2019 01:20:26 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x7H5IEQV064707; Sat, 17 Aug 2019 01:20:26 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ue66yyb4u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Aug 2019 01:20:26 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x7H5JorH025899; Sat, 17 Aug 2019 05:20:25 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma03dal.us.ibm.com with ESMTP id 2ue9760kgg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Aug 2019 05:20:25 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7H5KO5Q49545482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Aug 2019 05:20:24 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5C204B2066; Sat, 17 Aug 2019 05:20:24 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2769EB205F; Sat, 17 Aug 2019 05:20:24 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.201.199]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Sat, 17 Aug 2019 05:20:24 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 0561D16C1EB3; Fri, 16 Aug 2019 22:20:24 -0700 (PDT) Date: Fri, 16 Aug 2019 22:20:23 -0700 From: "Paul E. McKenney" To: Joel Fernandes Cc: LKML , kernel-team , kernel-team , Byungchul Park , Davidlohr Bueso , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , Byungchul Park , Rao Shoaib , rcu , Steven Rostedt Subject: Re: [PATCH v4 1/2] rcu/tree: Add basic support for kfree_rcu() batching Message-ID: <20190817052023.GA28441@linux.ibm.com> Reply-To: paulmck@linux.ibm.com References: <20190814160411.58591-1-joel@joelfernandes.org> <20190816164330.GA8320@linux.ibm.com> <20190816174429.GE10481@google.com> <20190816191629.GW28441@linux.ibm.com> <20190817035637.GY28441@linux.ibm.com> <20190817043024.GA137383@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190817043024.GA137383@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-17_03:,, 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 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908170057 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 17, 2019 at 12:30:24AM -0400, Joel Fernandes wrote: > On Fri, Aug 16, 2019 at 08:56:37PM -0700, Paul E. McKenney wrote: > > On Fri, Aug 16, 2019 at 09:32:23PM -0400, Joel Fernandes wrote: > > > Hi Paul, > > > > > > On Fri, Aug 16, 2019 at 3:16 PM Paul E. McKenney wrote: > > > > > > Hello, Joel, > > > > > > > > > > > > I reworked the commit log as follows, but was then unsuccessful in > > > > > > working out which -rcu commit to apply it to. Could you please > > > > > > tell me what commit to apply this to? (Once applied, git cherry-pick > > > > > > is usually pretty good about handling minor conflicts.) > > > > > > > > > > It was originally based on v5.3-rc2 > > > > > > > > > > I was able to apply it just now to the rcu -dev branch and I pushed it here: > > > > > https://github.com/joelagnel/linux-kernel.git (branch paul-dev) > > > > > > > > > > Let me know if any other issues, thanks for the change log rework! > > > > > > > > Pulled and cherry-picked, thank you! > > > > > > > > Just for grins, I also pushed out a from-joel.2019.08.16a showing the > > > > results of the pull. If you pull that branch, then run something like > > > > "gitk v5.3-rc2..", and then do the same with branch "dev", comparing the > > > > two might illustrate some of the reasons for the current restrictions > > > > on pull requests and trees subject to rebase. > > > > > > Right, I did the compare and see what you mean. I guess sending any > > > future pull requests against Linux -next would be the best option? > > > > Hmmm... You really want to send some pull requests, don't you? ;-) > > I would be lying if I said I don't have the itch to ;-) > > > Suppose you had sent that pull request against Linux -next or v5.2 > > or wherever. What would happen next, given the high probability of a > > conflict with someone else's patch? What would the result look like? > > One hopes that the tools are able to automatically resolve the resolution, > however adequate re-inspection of the resulting code and testing it would be > needed in either case, to ensure the conflict resolution (whether manual or > automatic) happened correctly. I didn't ask you to hope. I instead asked you what tell me what would actually happen. ;-) You could actually try this by randomly grouping the patches in -rcu (say, placing every third patch into one of three groups), generating separate pull requests, and then merging the pull requests together. Then you wouldn't have to hope. You could instead look at it in (say) gitk after the pieces were put together. And there are more questions. For example, how would this affect testing given issues involving both RCU and other pieces of the kernel? > IIUC, this usually depends on the maintainer's preference on which branch to > send patches against. > > Are you saying -rcu's dev branch is still the best option to send patches > against, even though it is rebased often? Sounds like we might need to discuss this face to face. Thanx, Paul