Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1249199ybt; Thu, 9 Jul 2020 02:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiUGwQnKSzyo8c4Izi94iJvG0N5YicdGKK37BJgHRC/yXbfImZe8A+V1UHTdjAh2/wFeRt X-Received: by 2002:a17:906:c259:: with SMTP id bl25mr55360584ejb.303.1594286438468; Thu, 09 Jul 2020 02:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594286438; cv=none; d=google.com; s=arc-20160816; b=zkAf+OyLiltQz2R2DGU84kgz9gxTgzYzgRugXl/jx93Eo4Oe/DtOdIXcgt4EMDMD/q rVzbYQLt60dVztKwjdRvqBf/NS+tZGnbDaJasJd54jpRFLu7w5MmLTZD+tV1nXVud8ny v+LTjqf08pJuvSHNtdByw+/lotonEEqzwJ6ARcTASQyBvax/4fNlJtMIDAk5LYd+3BML BKbYHiM7zv/oMzaKoMDsPfjupXmp+PgF12DJU9vRwn4bRpWFrcozTB+5hN20TBxIaISj a056I+f+573EAehp2EN0nN9fBsUfLeOFlId6vBHnxRLFO+Z0AF+5Ow7Nl1gWE9fjm1lj kHkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6e7jUJWXQBCCgdwVEHVO2oMMMsJhFt6eyaZQ0fN4InA=; b=PFXSXfuxybvx9a9wrOBBBsJ9GoQ9ZMCCuTOzT3nuj9v7gmUs1sYUlY6sRRydOU4oTJ MzPI/ZjXLSIgM1OHp8MHz9uLBWTMrilvJGR5C5cuW+rcxn5sP/rkRNb4xXLHfExR/5qL l96lt7ZYPKPHwIB3coX4Yf6TkYHIGmCt714QhST+RHF+dphyAL3jWlIUQhmvTHV8g/D2 pxK4s2jJgSPWsx22S0joukwMxiz4fr4o1W/eGMDyg6xMU05wiiTilrHiBrYD+ALBn1hQ ggSEWye+9vRY/pjALvJ2A6HMNljkF+Frc6n4H5r2O02L5O71NK6a/z5XyZ0D2UXevx4C zFcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id be27si1553582edb.50.2020.07.09.02.20.15; Thu, 09 Jul 2020 02:20:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726440AbgGIJTi (ORCPT + 99 others); Thu, 9 Jul 2020 05:19:38 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45860 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726283AbgGIJTi (ORCPT ); Thu, 9 Jul 2020 05:19:38 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06992P92149548; Thu, 9 Jul 2020 05:18:25 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 325n5eh6s2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jul 2020 05:18:25 -0400 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 06992TWC149958; Thu, 9 Jul 2020 05:18:24 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 325n5eh6r2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jul 2020 05:18:24 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0699A2Fw014205; Thu, 9 Jul 2020 09:18:22 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma03ams.nl.ibm.com with ESMTP id 325k1vgqjt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jul 2020 09:18:22 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0699IJQc54919672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Jul 2020 09:18:20 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB9DCAE05A; Thu, 9 Jul 2020 09:18:19 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D5DF8AE045; Thu, 9 Jul 2020 09:18:16 +0000 (GMT) Received: from linux.ibm.com (unknown [9.148.204.222]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 9 Jul 2020 09:18:16 +0000 (GMT) Date: Thu, 9 Jul 2020 12:18:15 +0300 From: Mike Rapoport To: Matthew Wilcox Cc: Jia He , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Yoshinori Sato , Rich Felker , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , David Hildenbrand , x86@kernel.org, "H. Peter Anvin" , Dan Williams , Vishal Verma , Dave Jiang , Andrew Morton , Baoquan He , Chuhong Yuan , Logan Gunthorpe , Masahiro Yamada , Michal Hocko , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, linux-nvdimm@lists.01.org, linux-mm@kvack.org, Jonathan Cameron , Kaly Xin Subject: Re: [PATCH v3 4/6] mm: don't export memory_add_physaddr_to_nid in arch specific directory Message-ID: <20200709091815.GF781326@linux.ibm.com> References: <20200709020629.91671-1-justin.he@arm.com> <20200709020629.91671-5-justin.he@arm.com> <20200709021104.GZ25523@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709021104.GZ25523@casper.infradead.org> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-09_04:2020-07-08,2020-07-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 spamscore=0 impostorscore=0 mlxscore=0 adultscore=0 suspectscore=1 mlxlogscore=603 phishscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007090068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 03:11:04AM +0100, Matthew Wilcox wrote: > On Thu, Jul 09, 2020 at 10:06:27AM +0800, Jia He wrote: > > After a general version of __weak memory_add_physaddr_to_nid implemented > > and exported , it is no use exporting twice in arch directory even if > > e,g, ia64/x86 have their specific version. > > > > This is to suppress the modpost warning: > > WARNING: modpost: vmlinux: 'memory_add_physaddr_to_nid' exported twice. > > Previous export was in vmlinux > > It's bad form to introduce a warning and then send a follow-up patch to > fix the warning. Just fold this patch into patch 1/6. Moreover, I think that patches 1-4 can be merged into one. -- Sincerely yours, Mike.