Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1613351yba; Thu, 4 Apr 2019 14:28:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8U7cEDAwZJ72JgJ7PATTWQ5m51W6sckwtOZCtiGDBKpV5RnsuyGBuHmv63C7amvNqm4tO X-Received: by 2002:a17:902:8d83:: with SMTP id v3mr8614882plo.283.1554413299773; Thu, 04 Apr 2019 14:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554413299; cv=none; d=google.com; s=arc-20160816; b=wOgCjfSV2yiq9iBhRxR40rBXFRWND8pG00OSChf5F/HDUajN8WfW5bDujQcP0W802f rfT3a9fMi7CmZ8EL/I3rWQslTBYNluq9rGSIteTcsZHOPh9oAGjEPcf3s3IvzMkg4xXF 86P3Iv42Yb3kOYmvoZYlO2CWIVZ4mWmGIXDepwdrGSAcZsL4jRNu06gYdLD57D7zIlVF /y3zc6fzccKw0oUDTEdxTV5cizpoJaYMUOjQzeJqh5jkSCWDlb8eIWkax/G6HHxFJxib 7ILf09nF/vNywZM+2r4UBU8ZWCbbxfUoBfqwRGYh3jvxaxUgQWroTlzTXvjxyNvnKsam qNVg== 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; bh=bPUKJt7WhDVbxROsPi17dAOvFAvtVlTSKOVJj3O3Jyc=; b=oAHHQn6n36tEimg8xa8T8NfwMylE/4iqS1kG/gd9ibmfVA+J/dX6sZP1PLgxZROe4l da6Nd31+42JuOue44ao9trPtJbimULEO05X7QUACn6s6u/mY0IbZBZROXoiZSm/IJVeP NN/xqkF+t/T763IjrOCXkK657luV2u7KLS9k7e13iiZry4jMRt/ah5r5+ijFeLayV2sg Ue7TyB8STl8Kvx1X0fNVBLuzrACMWamfUscoah/8ZmHWQQDojHypmXU4Lhxao2moHTAY HG4FVGQp9P3Vu0JG3m3RJx8GjhXh2PbLqCCU556DdVtgkxRZ8B5nZIlpO8Fl3lwIKe4d D8GA== 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 l62si9228696pgd.168.2019.04.04.14.28.04; Thu, 04 Apr 2019 14:28:19 -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 S1731379AbfDDVFG (ORCPT + 99 others); Thu, 4 Apr 2019 17:05:06 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44022 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729116AbfDDVFF (ORCPT ); Thu, 4 Apr 2019 17:05:05 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x34L3jCJ174708 for ; Thu, 4 Apr 2019 17:05:04 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rnsa40hrk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 04 Apr 2019 17:05:04 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Apr 2019 22:05:02 +0100 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 4 Apr 2019 22:04:56 +0100 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 x34L4tnd22151220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Apr 2019 21:04:55 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C76AB2064; Thu, 4 Apr 2019 21:04:55 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F0970B2068; Thu, 4 Apr 2019 21:04:54 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.188]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 4 Apr 2019 21:04:54 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id DCD2516C34BA; Thu, 4 Apr 2019 14:04:56 -0700 (PDT) Date: Thu, 4 Apr 2019 14:04:56 -0700 From: "Paul E. McKenney" To: Dan Williams Cc: rcu@vger.kernel.org, Linux Kernel Mailing List , Ingo Molnar , jiangshanlai@gmail.com, dipankar@in.ibm.com, Andrew Morton , Mathieu Desnoyers , Josh Triplett , Thomas Gleixner , Peter Zijlstra , Steven Rostedt , David Howells , Eric Dumazet , fweisbec@gmail.com, Oleg Nesterov , joel@joelfernandes.org, Vishal Verma , Keith Busch , Dave Jiang , Tejun Heo , linux-nvdimm Subject: Re: [PATCH RFC tip/core/rcu 1/4] dax/super: Dynamically allocate dax_srcu Reply-To: paulmck@linux.ibm.com References: <20190402142816.GA13084@linux.ibm.com> <20190402142933.14547-1-paulmck@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19040421-2213-0000-0000-000003718965 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010873; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000284; SDB=6.01184368; UDB=6.00620132; IPR=6.00965121; MB=3.00026298; MTD=3.00000008; XFM=3.00000015; UTC=2019-04-04 21:05:01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19040421-2214-0000-0000-00005DE7BF12 Message-Id: <20190404210456.GN14111@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-04_12:,, 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-1810050000 definitions=main-1904040134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 03, 2019 at 11:31:01AM -0700, Dan Williams wrote: > On Tue, Apr 2, 2019 at 7:29 AM Paul E. McKenney wrote: > > > > Having DEFINE_SRCU() or DEFINE_STATIC_SRCU() in a loadable module > > requires that the size of the reserved region be increased, which is > > not something we really want to be doing. This commit therefore removes > > the DEFINE_STATIC_SRCU() from drivers/dax/super.c in favor of defining > > dax_srcu as a simple srcu_struct, initializing it in dax_core_init(), > > and cleaning it up in dax_core_exit(). > > > > Reported-by: kbuild test robot > > Signed-off-by: Paul E. McKenney > > Looks good to me. > > Reviewed-by: Dan Williams Applied, thank you! Thanx, Paul