Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1053699rwp; Thu, 13 Jul 2023 05:35:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHn3CxJPRLi6lkOwCheyir6BwF3R+aJla9BEIPg+bLfCTu1QJ7Gwx4GVcfrDcL5SWqnWciU X-Received: by 2002:a05:6512:5c9:b0:4f9:6535:a56 with SMTP id o9-20020a05651205c900b004f965350a56mr1075728lfo.26.1689251723479; Thu, 13 Jul 2023 05:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689251723; cv=none; d=google.com; s=arc-20160816; b=Z0iax8ZHap88bFtXNqN44pebCdG4DBfEANWqjk/qltRFqz4yJPY3MtlN8oOwFkTejk U8bzaqCkdtvHDMYzKysu3RNDIEbuQWoUAiXPdF8QuxbZwDeOmN7AHAQ8z4v3yti9QfMT vvhVsSIyRW0NW5t3NAeexm82euN5QKz3dT/f8nF0sW6+F4ousZih0EHAKTU8H0HU5LDT LFVWeRHkpsNMahOqa2WBuki42ZF267KqeDZxN19pZWke6bzrub2XLlW1GnnsC2T4ti3i VPhvQy/Is5esrJJTVDT2VSJa6FiJjh9YwQpT/91ZJDxa8sSeV56M50rDErx1wp6+flLD Lq5Q== 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=3urhFUwWWNebcnKy85rTPq0px8uLk6KxMdBPu3Dv3ts=; fh=+7gDMRZGxUC0AG/f6rMHNPkKWPZsLOQReztUZQrbCmM=; b=E7hdMaaeg/PgW0GbdNCIOOxgeyfauR2gufFX5+mPFMNjqSevj47K/51mewTYLwfzfS C03ljdmgJ+99WNZVRehoNbwmaqkdeRnTDtlECO75EKHSz1+GaoaWQ6aG0DkrHZ6EcppW OFhYkGqOm0PCaWNwpH9BccRUCHsl0Y2TG27Kx+UxL2turvAaqI/FXKQoZzG10RKbACnM jryYBVikoGwlAPG7gMbLL1cthfG7/PPRo8tXfIE0iDGwQU+f9hFTcXf9zO0RbOcBU/Io RzWLR7zc1G92mFZRFsd5lxj5AUkZaFcCrPyWkqHakM5Dzu72OAFXBJRNXNXNEvM+qqD2 egyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RQJEc8fb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n25-20020aa7db59000000b0051da5fd4a05si6997035edt.607.2023.07.13.05.34.58; Thu, 13 Jul 2023 05:35:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RQJEc8fb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234683AbjGMMOH (ORCPT + 99 others); Thu, 13 Jul 2023 08:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234667AbjGMMNr (ORCPT ); Thu, 13 Jul 2023 08:13:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C9AB2D74 for ; Thu, 13 Jul 2023 05:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3urhFUwWWNebcnKy85rTPq0px8uLk6KxMdBPu3Dv3ts=; b=RQJEc8fbULoN1uB9CkXJAs0SuM A/YvJ5VmqtwGh/ZEnXqQi0C1SY22cAAvttC9Q+IyZvVLeplm6lkQdjgKQT6UrofVywqmKQ7+d+BtW rtd6hK5o/MbnigOfguSAzl/61GTcyrHy1/jEAZchqj/lEU1IFe2nrZt4ukXAAuRwlQ4Ip7lpaDuNv y2eflSSsSUjNdwMifxQ8r2/8W/krejjuG/Dyrvwz2RytEspmPcbIRH6Dr7zYgclj9Zn4aZtVN0Rk9 hNtYsc05oq3mqMWWyny40cRuwnt/AkkKFc47Oc8R+3McdlNFpKij7KBW1xlpC6emnuQ5DKqhRd+6A cv5Q//Aw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qJvBm-0007fJ-Hf; Thu, 13 Jul 2023 12:12:54 +0000 Date: Thu, 13 Jul 2023 13:12:54 +0100 From: Matthew Wilcox To: Miaohe Lin Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/huge_memory: use RMAP_NONE when calling page_add_anon_rmap() Message-ID: References: <20230713120557.218592-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713120557.218592-1-linmiaohe@huawei.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 13, 2023 at 08:05:57PM +0800, Miaohe Lin wrote: > It's more convenient and readable to use RMAP_NONE instead of false when > calling page_add_anon_rmap(). No functional change intended. > > Signed-off-by: Miaohe Lin Reviewed-by: Matthew Wilcox (Oracle)