Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1129838ybv; Thu, 20 Feb 2020 13:53:04 -0800 (PST) X-Google-Smtp-Source: APXvYqw8fJmiU1tXEMilF5fBFCt2K55E+XusZCbQPGXEx6BbXdDag4QU98H0a2ShLLS8yMjGyllJ X-Received: by 2002:a05:6830:16d8:: with SMTP id l24mr25483517otr.268.1582235584121; Thu, 20 Feb 2020 13:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582235584; cv=none; d=google.com; s=arc-20160816; b=xDHLSX2FwWYl89gDwKuBLB+tyAUlunhJQJzbAwKBaxEut2k+VwFebHYJKLutyjY9hZ f4vQnuGWOrjVchnuU20HqPo+M9vtoXagomRRMUe/Z2h1EioZiV/9T63rxjaK5I6Ysksc cClEGC+MDfPTt+3yVUQnwdkzxD4gBSY1LQ56vY79V2ln7BA8tTFK4EjZ+bU74Fjf5lDS Ach9BVhk6yy9k22SZMAOhHq5ih0MWFFQdKW3fo7uLmABCKnfYsQpwPSMEScFlwI1clML 0tH4I/0wcGGWeYgg7gd2BFO69Sz359cu9ftUzsW4tpACv6TMqHjDEh4EmrRfUk4Vbm7i hMcw== 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=iCoB4NPKjr/1ExmpIULDk23jIXbOAo2MXJDum7+n5VU=; b=MFCyNjgQ5fHHyJ3hR1szRGXSuGrsYXgfFk8G3MzmwTEnYqiWMQZcXJA8TMpz53Eu+n oRRCVTxQwZaUQc8Zw1JP5rsG6ijKcRPlfilf74yPauSPJPPaf36zMF1Z9EaN15Y/gAgK GXjcaSPUPt9oHzb0AooZARNRAt3daOGiKAeJnqHhcqXLycdvc1/3iH1Bav2HUDWH+NyK r7HbpTLobpRtRAkGrLx2vAHiBOnyF86AxwsL8mBJZYq0ogIobWr2QQ9ExZH2WdE+XoK0 kcVbBTMexXD+Mxou1JoxX0g0GqijqnmtoWN8+6QMI3Bgr8cEUHkkatEj+3yypc9tgBFm n2qg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si357602otp.48.2020.02.20.13.52.51; Thu, 20 Feb 2020 13:53:04 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729158AbgBTVv5 (ORCPT + 99 others); Thu, 20 Feb 2020 16:51:57 -0500 Received: from mga12.intel.com ([192.55.52.136]:18764 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbgBTVv5 (ORCPT ); Thu, 20 Feb 2020 16:51:57 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 13:51:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,465,1574150400"; d="scan'208";a="383273071" Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.54]) by orsmga004.jf.intel.com with ESMTP; 20 Feb 2020 13:51:53 -0800 Date: Fri, 21 Feb 2020 05:52:13 +0800 From: Wei Yang To: Baoquan He Cc: Wei Yang , linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, david@redhat.com, osalvador@suse.de, dan.j.williams@intel.com, mhocko@suse.com, rppt@linux.ibm.com, robin.murphy@arm.com Subject: Re: [PATCH v2 6/7] mm/sparse.c: move subsection_map related codes together Message-ID: <20200220215213.GA14195@richard> Reply-To: Wei Yang References: <20200220043316.19668-1-bhe@redhat.com> <20200220043316.19668-7-bhe@redhat.com> <20200220061832.GE32521@richard> <20200220070420.GD4937@MiWiFi-R3L-srv> <20200220071233.GA592@richard> <20200220085559.GE4937@MiWiFi-R3L-srv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200220085559.GE4937@MiWiFi-R3L-srv> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 20, 2020 at 04:55:59PM +0800, Baoquan He wrote: >On 02/20/20 at 03:12pm, Wei Yang wrote: >> On Thu, Feb 20, 2020 at 03:04:20PM +0800, Baoquan He wrote: >> >On 02/20/20 at 02:18pm, Wei Yang wrote: >> >> On Thu, Feb 20, 2020 at 12:33:15PM +0800, Baoquan He wrote: >> >> >No functional change. >> >> > >> >> >> >> Those functions are introduced in your previous patches. >> >> >> >> Is it possible to define them close to each other at the very beginning? >> > >> >Thanks for reviewing. >> > >> >Do you mean to discard this patch and keep it as they are in the patch 4/7? >> >If yes, it's fine to me to drop it as you suggested. To me, I prefer to put >> >all subsection map handling codes together. >> > >> >> I mean when you introduce clear_subsection_map() in patch 3, is it possible to >> move close to the definition of fill_subsection_map()? >> >> Since finally you are will to move them together. > >Oh, got it. Yeah, I just put them close to their callers separately. I >think it's also good to put them together as you suggested, but it >doesn't matter much, right? I will consider this and see if I can adjust >it if v3 is needed. Thanks. Yes, doesn't matter much. -- Wei Yang Help you, Help me