From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAF61C388F2 for ; Mon, 2 Nov 2020 03:13:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4D1B6221FF for ; Mon, 2 Nov 2020 03:13:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D1B6221FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5DAFE6B0068; Sun, 1 Nov 2020 22:13:06 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5B4C16B006C; Sun, 1 Nov 2020 22:13:06 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 477C06B006E; Sun, 1 Nov 2020 22:13:06 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0054.hostedemail.com [216.40.44.54]) by kanga.kvack.org (Postfix) with ESMTP id 0B3286B0068 for ; Sun, 1 Nov 2020 22:13:05 -0500 (EST) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id AE273180AD802 for ; Mon, 2 Nov 2020 03:13:05 +0000 (UTC) X-FDA: 77438006730.02.nerve09_2e1197e272ac Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 88F9610097AA1 for ; Mon, 2 Nov 2020 03:13:05 +0000 (UTC) X-HE-Tag: nerve09_2e1197e272ac X-Filterd-Recvd-Size: 3842 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by imf21.hostedemail.com (Postfix) with ESMTP for ; Mon, 2 Nov 2020 03:13:04 +0000 (UTC) IronPort-SDR: FKzn/lo9yJwa8FVqu/SkkChuIs8mPki2xSxnhQF2d72rmn7qzvUAGND2GETFXOg5UMerOpIOvR bdGkdKx4N5uw== X-IronPort-AV: E=McAfee;i="6000,8403,9792"; a="230460992" X-IronPort-AV: E=Sophos;i="5.77,443,1596524400"; d="scan'208";a="230460992" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2020 19:13:03 -0800 IronPort-SDR: 5gX2M2wQ2E/bMzor+MzEme7Qe5OW7FA2S/TTu3wMiM4yQE9k3eCC34yEhWKpkRYPkAUyBn5asV UggHdcEoC/iA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,443,1596524400"; d="scan'208";a="352595676" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.159.65]) by fmsmga004.fm.intel.com with ESMTP; 01 Nov 2020 19:13:00 -0800 From: "Huang\, Ying" To: Michal Hocko Cc: Peter Zijlstra , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Matthew Wilcox \(Oracle\)" , Rafael Aquini , Andrew Morton , Ingo Molnar , Mel Gorman , Rik van Riel , Johannes Weiner , Dave Hansen , Andi Kleen , David Rientjes Subject: Re: [PATCH -V2 1/2] mempolicy: Rename MPOL_F_MORON to MPOL_F_MOPRON References: <20201028023411.15045-1-ying.huang@intel.com> <20201028023411.15045-2-ying.huang@intel.com> <20201029090421.GC17500@dhcp22.suse.cz> <87h7qcxjew.fsf@yhuang-dev.intel.com> <20201030082517.GD1478@dhcp22.suse.cz> Date: Mon, 02 Nov 2020 11:12:59 +0800 In-Reply-To: <20201030082517.GD1478@dhcp22.suse.cz> (Michal Hocko's message of "Fri, 30 Oct 2020 09:25:17 +0100") Message-ID: <87d00wxxhg.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Michal Hocko writes: > On Fri 30-10-20 15:27:51, Huang, Ying wrote: >> Michal Hocko writes: >> >> > On Wed 28-10-20 10:34:10, Huang Ying wrote: >> >> To follow code-of-conduct better. >> > >> > This is changing a user visible interface and any userspace which refers >> > to the existing name will fail to compile unless I am missing something. >> >> Although these flags are put in uapi, I found these flags are actually >> internal flags used in "flags" field of struct mempolicy, they are never >> used as flags for any user space API. I guess they are placed in uapi >> header file to guarantee they aren't conflict with MPOL_MODE_FLAGS. > > You are right. I have missed that. The comment in the header even explains > that. Anyway the placement is rather unusual and I think that those > flags do not belong there. > >> > Have you checked how many applications would be affected? >> >> Based on above analysis, I think there is no application that will be >> affected. >> >> > Btw I find "follow CoC better" a very weak argument without further >> > explanation. >> >> That is the only reason for the patch. If nobody thinks the change is >> necessary, I can just drop the patch. > > Well, to be honest I do not see any problem with the naming. This is a capitalized words and prefixed, so most people think it's OK. And in PATCH 2/2, there's a newly added label, mopron: Which may become moron: some people think that we'd better to change it. And to make the wording consistent, the constant is changed too. Best Regards, Huang, Ying