Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp346726pxb; Wed, 14 Apr 2021 17:24:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxErNwpdMIF+l74wSNPBuFmjyuz8eyNGKQSf/nh+2LRELiw/6k0wGmpeslIz8YBlBdu9tgs X-Received: by 2002:a17:90a:6c88:: with SMTP id y8mr854601pjj.38.1618446263783; Wed, 14 Apr 2021 17:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446263; cv=none; d=google.com; s=arc-20160816; b=NFml4F3nQyidUlAKdvXBaN/48Cgb48wPn9cbrIH9CaoQMfIakYXir5ioOshKU0hVGi k77pa/UnUMHvGSja5npEBFJlytr1Gwj413XLsH35C/n91kVDItEpbg6ABqx6MiirRjTx DAxTUGITuFo2gU80lEygxsfR1CL4FTmnddrB057hQ6hn/JIohXqvoz5AVTcCa/g+fruQ 4uhpjEkDSvljD576+8fERj0GujGBEcrNqjVoCzZePfm8huoFZtsBV1VVQrAYcMW307Ar 7KknPJcyG6Z0ClDk9wkW4/smsl1vmXw7FWIPrjKoT6n/yhf0G+F9kOiZfsbmwzPEt3Zm uuGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1LdKFu9B1ttnJUcjp1tP1KvNZ4bFQ4ZCDRyCzjQcBJc=; b=p4FbDgjjcApFnbWIoCDxqhLGVjtUjDpiehCvOca13K5Mmk0kC+vr2l3Dd4kfJcbFRR aX9k5zzL4NYS6l88ecEJK+ifMpqbBSWNO71Ee8yCyBnbdXGwZO8oUIpwAfgIjWqqgKNo MQiSy6hnx9YsiC8rWx1kOAqzJ4XfnrYWxtjlhpr7Z+7oYYHq5YUds9AjkJf4UiDncZJE HI7WnUwfbzmJx/JSjAYaxKsSxauDcyIwTki7eXF4SY2s4Z74wtMtECoP7LUUXQX4RMwp Pgxdw7ggtJB5gzOqmPIvsJQa+/2nrPjV0swOI/rqS+FC0owVtX+olSLdzLHN8Ig1ayVZ 8GQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=gymcCEr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si1337350plh.92.2021.04.14.17.24.11; Wed, 14 Apr 2021 17:24:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=gymcCEr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351064AbhDNM7L (ORCPT + 99 others); Wed, 14 Apr 2021 08:59:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:49834 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233073AbhDNM7F (ORCPT ); Wed, 14 Apr 2021 08:59:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1618405123; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1LdKFu9B1ttnJUcjp1tP1KvNZ4bFQ4ZCDRyCzjQcBJc=; b=gymcCEr9pp2rQ6NTQyeeLND8/5HtaCElUhpTS/yJwi8+tpPw1EsvMmna67RzPmrhaycDs4 uCRWlfwby7B9PUhzi4+7Q/bfXDBm0MHx1doeKikLggVnaIR1sJYeIx87txIsMK3umvTES1 mDyGXDFIvs4aRRwWaPxtVkqaoCgnH3g= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 80AA6AFCF; Wed, 14 Apr 2021 12:58:43 +0000 (UTC) Date: Wed, 14 Apr 2021 14:58:42 +0200 From: Michal Hocko To: Feng Tang Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Andrea Arcangeli , David Rientjes , Mel Gorman , Mike Kravetz , Randy Dunlap , Vlastimil Babka , Dave Hansen , Ben Widawsky , Andi Kleen , Dan Williams Subject: Re: [PATCH v4 06/13] mm/mempolicy: kill v.preferred_nodes Message-ID: References: <1615952410-36895-1-git-send-email-feng.tang@intel.com> <1615952410-36895-7-git-send-email-feng.tang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1615952410-36895-7-git-send-email-feng.tang@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 17-03-21 11:40:03, Feng Tang wrote: > From: Ben Widawsky > > Now that preferred_nodes is just a mask, and policies are mutually > exclusive, there is no reason to have a separate mask. > > This patch is optional. It definitely helps clean up code in future > patches, but there is no functional difference to leaving it with the > previous name. I do believe it helps demonstrate the exclusivity of the > fields. Yeah, let's just do it after the whole thing is merged. The separation helps a bit to review the code at this stage because it is so much easier to grep for preferred_nodes than nodes. -- Michal Hocko SUSE Labs