Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp723839imm; Thu, 26 Jul 2018 10:51:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfPDUQlrDE0kPgctwWrBYIi8yxab9J4Dwn4vcMaySbggevLxGGW5XT4r5dEitIxCpcMbDMX X-Received: by 2002:a62:225d:: with SMTP id i90-v6mr3056505pfi.246.1532627489289; Thu, 26 Jul 2018 10:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532627489; cv=none; d=google.com; s=arc-20160816; b=qxl7M+QrOVpYOyYBvbg5bZXR2qS9JV0CrdO7i2uZulnCNoQaTPxYQIJq9A5ooIH1Qu lhvBFzvzwaEmZvKRLCQOcUvaIb5vdNKSsvtQxbIm5SFH8E9uPFFG1N44eq8pbJQ/HWeU t50LvmhyRKJMgot6sO5u920wXBfskaUakqcZ5oI99cfsNuLP477NblONckVPrcirbJ4S Jo/a1TGcbz/gPa6tfe1u9yAFaavLGtnSyw3wtY5f87A9REJBE67XRuIqfYWlCvoevCmv Xb+ORMbN1U5C0ojO5nActZr4939ZuxvITfb3vDvQxuOwDesEbwESoGe7LPQAn8kKxBw2 SOJg== 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=CEaYXm+XgcxY+5Gn8GAz42oEpnrWeOCO743XgToFKyw=; b=Qw3Au2RlrisPhh0AG0XelOIO9NsFaj39BpyHs9tRgjULiQNsYLC58PYtPXgoa3uhUs E63bOdqwre69HBpkx93uzLVuu52N6HK+piAGaB2ywpiHam/fnrmsp4xF8fQA99ce6Y+j Dpbj071YE5pAc+HvmfujGu+93sjyjgnW3t5ILLo85wsUZxvzdXi/kMEspDsUqxjTqvdi 6ofpn66FjrJTH23kCevATZEBGD1MWA1mJIEm9PCjWPSnw2395fHYCbj3vblJKyLqJfRr ifXcIoqX1B4eXBKeVPbirWP8+pDubP4lzMlGAOpvRPUiK9yt3QkqiiortmnLak9ZFoYZ EtYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=vnOS1UOc; 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 62-v6si2034053pfu.79.2018.07.26.10.51.14; Thu, 26 Jul 2018 10:51:29 -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-2018-07-02 header.b=vnOS1UOc; 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 S2388851AbeGZShL (ORCPT + 99 others); Thu, 26 Jul 2018 14:37:11 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:38550 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730085AbeGZShL (ORCPT ); Thu, 26 Jul 2018 14:37:11 -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 w6QHJ75Y027739 for ; Thu, 26 Jul 2018 17:19: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-2018-07-02; bh=CEaYXm+XgcxY+5Gn8GAz42oEpnrWeOCO743XgToFKyw=; b=vnOS1UOcz0khT9TBDiMVOQR1Ax/WL3K31TkwfToixbRjbWvjR/0MQBJ50VhYlAdSw1ed jv+GzG9GJZPSfz5E7T1c5li9177Zf/xAymK1kb4OhvppwCEAtmbI7s9BHT+mFGqyaWRV l8HCOthi+sMp4MovqlfakCerwnjngTSVjKyqa231RlVVZAk3zPuv3A/fHw8AoHdeWePS vVVy6nuSmL1u/T7n6LtID1MjtNJTJvWLgOUkEqSnc50ws7XJxQbGInn06S4GVX3Phjqq yzFeMFTBUSEr7+hj3mdUKJsKBO9fiVwsHMAv7IZgRuaJnbc9BqL0RREf4T93hqsSoiRe GA== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2kbwfq42am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Jul 2018 17:19:25 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6QHJNkv021297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Jul 2018 17:19:23 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6QHJNt0009197 for ; Thu, 26 Jul 2018 17:19:23 GMT Received: from mail-oi0-f46.google.com (/209.85.218.46) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 26 Jul 2018 10:19:23 -0700 Received: by mail-oi0-f46.google.com with SMTP id k81-v6so4304753oib.4 for ; Thu, 26 Jul 2018 10:19:23 -0700 (PDT) X-Gm-Message-State: AOUpUlEeXyV41T6JfzbHfPgFmo0BYW/TZwF9hmKXLjHYcIcxHd2lKEhs m38eJcFqA4PQ88LXyaZPCeTvhVTIyNRN0q3VuDo= X-Received: by 2002:aca:db09:: with SMTP id s9-v6mr3037422oig.339.1532625562767; Thu, 26 Jul 2018 10:19:22 -0700 (PDT) MIME-Version: 1.0 References: <20180725220144.11531-1-osalvador@techadventures.net> <20180725220144.11531-3-osalvador@techadventures.net> <20180726080500.GX28386@dhcp22.suse.cz> <20180726081215.GC22028@techadventures.net> <20180726151420.uigttpoclcka6h4h@xakep.localdomain> <20180726164304.GP28386@dhcp22.suse.cz> In-Reply-To: <20180726164304.GP28386@dhcp22.suse.cz> From: Pavel Tatashin Date: Thu, 26 Jul 2018 13:18:46 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/5] mm: access zone->node via zone_to_nid() and zone_set_nid() To: mhocko@kernel.org Cc: osalvador@techadventures.net, Andrew Morton , Vlastimil Babka , mgorman@techsingularity.net, aaron.lu@intel.com, iamjoonsoo.kim@lge.com, Linux Memory Management List , LKML , dan.j.williams@intel.com, osalvador@suse.de Content-Type: text/plain; charset="UTF-8" X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8965 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=3 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=739 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260178 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > OpenGrok was used to find places where zone->node is accessed. A public one > > is available here: http://src.illumos.org/source/ > > I assume that tool uses some pattern matching or similar so steps to use > the tool to get your results would be more helpful. This is basically > the same thing as coccinelle generated patches. OpenGrok is very easy to use, it is source browser, similar to cscope except obviously you can't edit the browsed code. I could have used cscope just as well here. Pavel