Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp762334imm; Thu, 26 Jul 2018 11:32:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdn1ffRJyVP2Wi8FbNIkWYCqSGHwqG7AJMtRgQCu8kxbhkz2WZxXdMRozBl27bnRIJgRHOm X-Received: by 2002:a63:e206:: with SMTP id q6-v6mr2978955pgh.223.1532629926347; Thu, 26 Jul 2018 11:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532629926; cv=none; d=google.com; s=arc-20160816; b=aD3e8mAmOKS6DraPWWuo9CvQOwQhW3Yvix0a+I2W1zgocFb9/4Y+6l3VEbBh6sjlxg 3IhDwvj5TOt6bPU8NBrR9AY9aFg/fZi4CGfuhkMpUPtEomRloOCV4Wx4YmO5rR/buSky GyJrVBTrTAvFrp4RD7GIUHJEVIK1wO8uWyylL6kCap4EZgD6g1qA5JtIQxF69G2V+F+B qUJgSUyeemJvlFa/MJq2X6AJ0dQuvtk/kmewTcJocFi431zRrlW+PP1qIKLRSRuFG64z 0bmwId5b5eebLu62W6aGqzwV5mCe+Og/LJ5aqsHS6k36NAFKWIRAWy1d8gSxmtRNmDNv ANJA== 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=8FswLCcHgqOEaE8p9bODFHSc/2js+9arUGd/SyULSpg=; b=w2LFLvP4mVA1d6njnnnxhbIJ8VqgURnBJBsRAI0WiiXmGOq7khRJrcYEI1JrEbe0kO 3wEL8ziJCvdrtdBy20CdyEwzDBjHV6Z/v2zZaGXF5fQ9jTdKgkjQ8YdkquOFDOdAM6XL sEppRCQWjhPT4RwG+X8O4/yxHJ5j/cy2kVj5ZHIPejC40YrJ4lbz08cMB0WQd6MGxPPi 78P7WIWYQJQTIrIhI8P0lQMLj2Y6XIw6xyqieRwDwpP0YIU+OODmHcErwv6XkQl5ER9K Q/AXxyX3vEfRJLCzFW6+roy2YDLt/pHHYAEOgmWOYOMd7pNYJmljGY+jop6wjsf2/3XN T3Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=loL9lPTA; 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 j4-v6si1667252pll.101.2018.07.26.11.31.51; Thu, 26 Jul 2018 11:32:06 -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=loL9lPTA; 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 S2388672AbeGZTOI (ORCPT + 99 others); Thu, 26 Jul 2018 15:14:08 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:37152 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731823AbeGZTOI (ORCPT ); Thu, 26 Jul 2018 15:14:08 -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 w6QHrhGZ054001 for ; Thu, 26 Jul 2018 17:56:13 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=8FswLCcHgqOEaE8p9bODFHSc/2js+9arUGd/SyULSpg=; b=loL9lPTATuALihkhtVFKjKYQKkIQNGJutVfdzxsgPzOsTInakH45kDgWixmwzwFDiThW 5VcUA80dON9EN6D2Vx/F7gk8cd2hy54mZoNHaafU4uyYdFw8CTnHQDujYHPw1iuW55Cu p4ak3pvueTvsqYpmjDYWB/jkW1haXJ1M7lWZbUpdvYAyfLSIrfUj0jlJqLAA/HiTB0Jb Y5muPx92BR2VfOq3Azz9v4OLR5HEg/uZNNOtIBdQTRVv26ZXbafiqPLQFW3VpOLtH4VP F97c9w/VKt1v7c5MdYofpA+OwaJ9dfsimaL8J34OsDaX5z0ctnpozdHIzVofW23QD66F ew== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2kbwfq46c8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Jul 2018 17:56:13 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6QHuBkN010294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Jul 2018 17:56:11 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6QHuATs031178 for ; Thu, 26 Jul 2018 17:56:11 GMT Received: from mail-oi0-f43.google.com (/209.85.218.43) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 26 Jul 2018 10:56:10 -0700 Received: by mail-oi0-f43.google.com with SMTP id k81-v6so4502227oib.4 for ; Thu, 26 Jul 2018 10:56:10 -0700 (PDT) X-Gm-Message-State: AOUpUlFtBuGw4BQaxD/mBaQcwKYb+n/6Zg2H51wz748wiPpJIRsFXxwr 6b6kx5JauNE3/ezC+ujNOjcD/FObrS3CcZeAbxc= X-Received: by 2002:aca:da88:: with SMTP id r130-v6mr3104758oig.163.1532627770203; Thu, 26 Jul 2018 10:56:10 -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> <20180726175212.GQ28386@dhcp22.suse.cz> In-Reply-To: <20180726175212.GQ28386@dhcp22.suse.cz> From: Pavel Tatashin Date: Thu, 26 Jul 2018 13:55:34 -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=789 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807260184 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 26, 2018 at 1:52 PM Michal Hocko wrote: > > On Thu 26-07-18 13:18:46, Pavel Tatashin wrote: > > > > 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. > > OK, then I misunderstood. I thought it was some kind of c aware grep > that found all the usage for you. If this is cscope like then it is not > worth mentioning in the changelog. That's what I thought :) Oscar, will you remove the comment about opengrok, or should I paste a new patch? Thank you, Pavel > -- > Michal Hocko > SUSE Labs >