Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1636571ima; Thu, 25 Oct 2018 02:23:02 -0700 (PDT) X-Google-Smtp-Source: AJdET5eIizyvVKDEZwav+Tk22g8V8huLDmMcTXPO3ejJHT7bggTh39uG+dYsS5zryNsO78E3FZ6r X-Received: by 2002:a62:8281:: with SMTP id w123-v6mr788474pfd.68.1540459381876; Thu, 25 Oct 2018 02:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540459381; cv=none; d=google.com; s=arc-20160816; b=05KuLGLacvxgBDTT00u534LdwaBbIeUs44whaKSs88ZOC1J/FaYUzVwTx43sw30d72 3KJ1cA9OX8lfaeK+pFfQ+PMSbkxCCNeFy9frEe+nu+0USSbf2ipYgPfP64CnkDndmz8N lxeAa2Nco3U/78BRp8jfrEHnG5+SGFCJp+hvwwxFM+uwEpKPVZAAgIxtpsNjM0jsVci9 mkqid26qHbU8LZJEsIIVCw9uJ9iguuiQprmFmvBBhrYX+A62g6poWiTZQ/yZGn9/a3Aw ztkS4EOIO0qBUx0IfgXfOBDiBPctGa8IJqYkqnJkX3n2JbDQB9JLXFtdLDhVNLlB2TDq C7jg== 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:message-id:subject:cc :to:from:date; bh=76L0rBxIpCkCEolQ3e2b+f+pMccO4MRj+Csrevv1BKY=; b=o6WpVQZmtsKV6rUJgS3jHXy7FNxpuLimwsOHC4XfFxiqLUVUQjwYtDECjMqm8Wz+MK FY/wd29Mzr9ghWhZTLKGHW0VWVcPBj9JAMZQv0XJxH7+IQZeeyAxYHTkoVegy3lV5s9H bNKo2JCR9fJUPf+EbVuBgiOdC3xfLe4vjiyfJ92ef1BT0ns5XmCi+M6klTrNezcrPrjz dp9PfQWuLlVv1hdGKJytFpcE1a1HJ2v4gzVneX+oA6jwEWp56g2sikk4ORNkzbx9+zEc O1bbiftPXcSp3s3llpOhrgzfdwQq8aD4gFVOnDc8c6sn+8UcMd8a1bJ4cpsofI1HEJ/n 1qhg== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y73-v6si7734719pfi.61.2018.10.25.02.22.46; Thu, 25 Oct 2018 02:23:01 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbeJYRxq (ORCPT + 99 others); Thu, 25 Oct 2018 13:53:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:47684 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726645AbeJYRxp (ORCPT ); Thu, 25 Oct 2018 13:53:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 11DF4AFA8; Thu, 25 Oct 2018 09:21:52 +0000 (UTC) Date: Thu, 25 Oct 2018 11:21:51 +0200 From: Michal Hocko To: Joe Perches Cc: Arun KS , Kees Cook , Konstantin Khlebnikov , LKML , linux-mm , Minchan Kim , Arun Sudhilal , Greg Kroah-Hartman , Andrew Morton Subject: Re: [PATCH] mm: convert totalram_pages, totalhigh_pages and managed_pages to atomic. Message-ID: <20181025092151.GO18839@dhcp22.suse.cz> References: <1540229092-25207-1-git-send-email-arunks@codeaurora.org> <15247f54-53f3-83d4-6706-e9264b90ca7a@yandex-team.ru> <7a4fcbaee7efb71d2a3c6b403c090db4@codeaurora.org> <20181024061546.GY18839@dhcp22.suse.cz> <0e1fc40af360ed55fd32784f6973af5940232f99.camel@perches.com> <20181024082312.GD18839@dhcp22.suse.cz> <02a1bfc2eed324f3d03aa4a7b5eb6fde4e4a3bdd.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02a1bfc2eed324f3d03aa4a7b5eb6fde4e4a3bdd.camel@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 24-10-18 01:39:18, Joe Perches wrote: > On Wed, 2018-10-24 at 10:23 +0200, Michal Hocko wrote: > > On Tue 23-10-18 23:26:16, Joe Perches wrote: > > > On Wed, 2018-10-24 at 08:15 +0200, Michal Hocko wrote: > > > > On Wed 24-10-18 10:47:52, Arun KS wrote: > > > > > On 2018-10-24 01:34, Kees Cook wrote: > > > > [...] > > > > > > Thank you -- I was struggling to figure out the best way to reply to > > > > > > this. :) > > > > > I'm sorry for the trouble caused. Sent the email using, > > > > > git send-email --to-cmd="scripts/get_maintainer.pl -i" > > > > > 0001-convert-totalram_pages-totalhigh_pages-and-managed_p.patch > > > > > > > > > > Is this not a recommended approach? > > > > > > > > Not really for tree wide mechanical changes. It is much more preferrable > > > > IMHO to only CC people who should review the intention of the change > > > > rather than each and every maintainer whose code is going to be changed. > > > > This is a case by case thing of course but as soon as you see a giant CC > > > > list from get_maintainer.pl then you should try to think twice to use > > > > it. If not sure, just ask on the mailing list. > > > > > > Generally, it's better to use scripts to control > > > the --to-cmd and --cc-cmd options. > > > > I would argue that it is better to use a common sense much more than > > scripts. > > Common sense isn't common. But you cannot replace brain by a script. Again, this is mostly a mechanical change quite internal to the MM proper. Involving all the maintainers which happen to use totalram_pages etc. are unlikely to need to know about this change. Sure there is some chance of merge conflicts and that is where linux-next comes really handy. This is the best advice I can give here. -- Michal Hocko SUSE Labs