Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3344624imm; Sun, 1 Jul 2018 19:13:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKtLVl3dXe18pIE/ygn6fcwndRzYE8Dvbere0+yOhVEPY6i09B5ksS0qxwcDotYIKuoXVSG X-Received: by 2002:a17:902:6e09:: with SMTP id u9-v6mr23433328plk.13.1530497596423; Sun, 01 Jul 2018 19:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530497596; cv=none; d=google.com; s=arc-20160816; b=J9PClVRbv0fi0J3S9+aztj3u4gERC3ocV7H5LGSphdPs/8tWxP/TEdsCVr1LWhYhcV xxSA9ywao+myfKFakmvVbVAMiNWpFgESYKa/iMvSv2ha8VmPNRE7HOLBi9OteVzvv0ee QKxLcE+mkOgSs7BBb283O3SBzJ3yq5F2GXQ9kPVuQQNiQgQdesg424nDVeSLJ/i92SAp Z60L+Cz1CRzzDlQ+79HFFAbRCNNWMwNL9Vlk5LHOdFFfg09zqS0k1OWihyZCfhsZCP8Q 4t1VUpr8V7actzJuT/NqEqHumcsB77G8GJqRyZCeHYQuUGh9GFozmUwMefDC+QisdEqt VWPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=dqdRpM1rc3sc/hri3YTxZRe5+KxN0rtSSMvCbcMrMAg=; b=qZcqQNmAea79gLPv1ezDcBT5IPPWzwHKFAw4IzyNu0RZOVcxZoUX6a2VpE6M3SczkQ XNWYZ0CPJ3aStMzfjJZ95VrGgBCX+S1BvpE/TGaeiaWjAlJ70e5ExrXNmpIU4gnr1d3r xqT3CNOLM/Vtlqp4CzXgzCadfP4eBHq89plf9ZKX/+f+ISZgVjTM67vOXxEpzkT9f5P1 X/Ivv2jAkfpBJ4+U3Vlj36KnYq+T1/YbCDVIwx/vSzn2NzaFDp7XlcPKh2IAbpE6Ztq6 CZr788aM3Wn5H1WRRAzcEciERaiBzKwfFkqlilEZTd/M1NsFHhv1eNZESNG5Mj7y7lR/ uG0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=WPYt6kOB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6-v6si976707pll.498.2018.07.01.19.13.01; Sun, 01 Jul 2018 19:13:16 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=WPYt6kOB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932719AbeGBB41 (ORCPT + 99 others); Sun, 1 Jul 2018 21:56:27 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:59450 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932102AbeGBB4Z (ORCPT ); Sun, 1 Jul 2018 21:56:25 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w621sCFr070057 for ; Mon, 2 Jul 2018 01:56:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : references : in-reply-to : from : date : message-id : subject : to : cc : content-type; s=corp-2017-10-26; bh=dqdRpM1rc3sc/hri3YTxZRe5+KxN0rtSSMvCbcMrMAg=; b=WPYt6kOBCqOdWOhB+MmwlqOAVvlZgRyTHo1thjAuqm83Ql1tsTGGjLUwamNvzByBNJw6 agfMZPbhRC1qRu5M4HtZnR3m8D9gorIh0wxZsMsUnn8qIi0EYi1nUX29BkxFxiChsUNJ MS7NVzhGeBbKMypIXsczr+nh+L01A64umBwqBisX5BWIirmD6W2GLgziCv5fn/6KzdcD 6ZHOILPppZn2r7gwArStSX8hUNMwBSxvM6Du9VCEwo8mF3GHNAL9il/gKjkYdyB64UgM NUKicCC3F5ENpgiDjljkbfsjR5TPn8trKQ2I4HfZR+gzkhWhTX0xSaVrQkit6WPXk9In SQ== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2jx2gptgkj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 02 Jul 2018 01:56:25 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w621uO5h011736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 2 Jul 2018 01:56:24 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w621uOoY027638 for ; Mon, 2 Jul 2018 01:56:24 GMT Received: from mail-oi0-f41.google.com (/209.85.218.41) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 01 Jul 2018 18:56:24 -0700 Received: by mail-oi0-f41.google.com with SMTP id v8-v6so13490195oie.5 for ; Sun, 01 Jul 2018 18:56:24 -0700 (PDT) X-Gm-Message-State: APt69E1aOe0Co6VO7kd0akE1qPhjN3m+fcTEqBFuIMOZcxQnovvSeUVS 9V6px/QdQXBJMuj2V2gbkauBbgIZ0ZWNcuMk8/A= X-Received: by 2002:aca:3b09:: with SMTP id i9-v6mr14524833oia.156.1530496583928; Sun, 01 Jul 2018 18:56:23 -0700 (PDT) MIME-Version: 1.0 References: <20180630030944.9335-1-pasha.tatashin@oracle.com> <20180630030944.9335-3-pasha.tatashin@oracle.com> <20180702013918.GJ3223@MiWiFi-R3L-srv> <20180702015211.GK3223@MiWiFi-R3L-srv> In-Reply-To: <20180702015211.GK3223@MiWiFi-R3L-srv> From: Pavel Tatashin Date: Sun, 1 Jul 2018 21:55:47 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code To: bhe@redhat.com Cc: Steven Sistare , Daniel Jordan , LKML , Andrew Morton , kirill.shutemov@linux.intel.com, Michal Hocko , Linux Memory Management List , dan.j.williams@intel.com, jack@suse.cz, jglisse@redhat.com, Souptick Joarder , gregkh@linuxfoundation.org, Vlastimil Babka , Wei Yang , dave.hansen@intel.com, rientjes@google.com, mingo@kernel.org, osalvador@techadventures.net Content-Type: text/plain; charset="UTF-8" X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8941 signatures=668704 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=3 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=794 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807020021 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Yes, if they are equal at 501, 'continue' to for loop. If nid is not > equal to nid_begin, we execute sparse_init_nid(), here should it be that > nid_begin is the current node, nid is next node? Nevermind, I forgot about the continue, I will fix it. Thank you again! Pavel