Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7295689rwb; Mon, 12 Dec 2022 12:43:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/LnenoSjUv6oTs52omWQjiGpk5d/HtxTbqgzJ3scVwZ+HerLHCJzrfZskQy1iKrZsTUMb X-Received: by 2002:a17:90a:194b:b0:220:bbe1:1fde with SMTP id 11-20020a17090a194b00b00220bbe11fdemr11058183pjh.14.1670877805190; Mon, 12 Dec 2022 12:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670877805; cv=none; d=google.com; s=arc-20160816; b=rnxkpaSnV6uN4kGT26UemFvCl4/x2PH+lDINL/jevWTR46LaAXSQP+FwzteVCWhlxA p8ntfrM6ROww+BbhuyRuiwyu3yXm9Rn39rVaXtPUfsf7ui9fFmb5+W2wikDM9wGPnxNi K9E/ouno7OzUwWMaKAu4f0hEHN4zUblmBeiJoeA/zsXv0uS8Lgj+O90KIAO3fzvwNrUH /AHktNJvq/Qi62XTidfI7kkCVRaCLvCKf64c/UTssqG8VBDyLvcvNaFVyUzMayY6Pwz5 4zKNM186FfNXJc7k67Q1MMYT2JWarGoq+NvUKzbrZBYgcMuOUEUXIM6Ltij9N93ykDBM U1nQ== 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=u1JwA4591V3WWgjpQbG6VpbXkMhkR+cvLtonZzzHudc=; b=ng6hKxoM7hzfpoBt4Mao06O/htARFYsXl7uibw0glmdDjrCp5Ghnxbk+esc82/4eDb KfdByoFeVX/WNzzMoGA7OfUBtFn+wNUi5jqlcE0qsf23gmrmM54YCMk0UsBs3Omy88lC JJ1SqCiBpribfTGgpC3JhkOeVd27tSZSFPCVuWwUDnfKYd/tiYaRwBBUy7QfVVCnMMqt LLCaPP+96zEv704Aw9bMAS+wYAPboYlLkUushtEPhqCrHEdZoZCnKfyJRvZ/9BvFaZt1 +GzeN05W96mMiQwZu8igUQVwqoXR7UrGnikY2IicYi2BghHHfug++aeIR3uoI8MR8yAl WWsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bfxshwMa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a17090abd1700b00212d06b4743si9840232pjr.34.2022.12.12.12.43.15; Mon, 12 Dec 2022 12:43:25 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=bfxshwMa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233351AbiLLUAW (ORCPT + 74 others); Mon, 12 Dec 2022 15:00:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233344AbiLLUAS (ORCPT ); Mon, 12 Dec 2022 15:00:18 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5183E17431 for ; Mon, 12 Dec 2022 12:00:18 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id w23so13204513ply.12 for ; Mon, 12 Dec 2022 12:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=u1JwA4591V3WWgjpQbG6VpbXkMhkR+cvLtonZzzHudc=; b=bfxshwMaLU3HbMZsNFLMaIIXxXoewfJPvLfv8fNcQ9xVzr3N7zUXskhUOSQQ4HOIGV C3QkAsPMqE9x3QD15QUA5F/sSa+3a/Tn34Vwyv5VK8DadYLDQeyw/7kH9D1EQMXlwQ4+ i3NjWmf6KFkx6sjgs3GdZ3twUEYkQPIrpeMgEC84ypMcbtBNq+8RSuV34QNECAaIycaU /gPxnh0cjG4GNlLeJwr3R/WOs6dZKmUYQ3B11YFQe2GjhYcWQnlBoXoJ0CdIRy64j6EW plDAwQskcl14RF4blhRyL6bmIyresxU6JgVGVcY+a9LuAIS+EADsk3+FyFYGZIZrfZ50 kqiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=u1JwA4591V3WWgjpQbG6VpbXkMhkR+cvLtonZzzHudc=; b=liARqyYHEk2ns1QQ2DpDOxQM7VBS3PzpSa6TPJ729CsiNUp+vgXiN9KCapavLzKBvz qePnvxCsOH3h2YsPjlvqyurxXRAdQW6JNwlnV6oFVt3xawy6Rdd928UvqD04gmEWlqfw 8vAGn62M5ZAwaXjxxKmF9Vi5If5nt2gpK9CoFoU48rPWy2DHV9C/SEiZWqPwIsq3ugcC zXLT3yIqMA/ke3SG6evr61aUxabr0CSkIWFFAkE7P3lbHc1F2L5LVth/1pobcyWBzBgG VCVVzeHczHxzRKMUwm6Turf6GAQwL5T8Q1zpn+FR3sThleq/MW+3ViNVibQ3fffbVMFh /MyQ== X-Gm-Message-State: ANoB5pl5wZr47wk9pgS0dpIKqmLvLo0md1eDiHX1la4JpWKixXeJkuSa CwJn9at8Np94n8mKilcP0zY= X-Received: by 2002:a05:6a20:c892:b0:9d:efbf:48cb with SMTP id hb18-20020a056a20c89200b0009defbf48cbmr21757174pzb.15.1670875217772; Mon, 12 Dec 2022 12:00:17 -0800 (PST) Received: from fedora ([2601:644:8002:1c20::2c6b]) by smtp.gmail.com with ESMTPSA id q15-20020a170902a3cf00b0016d9b101413sm6735764plb.200.2022.12.12.12.00.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 12:00:17 -0800 (PST) Date: Mon, 12 Dec 2022 12:00:14 -0800 From: Vishal Moola To: Kefeng Wang Cc: linux-mm@kvack.org, Andrew Morton , "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mm: huge_memory: Convert madvise_free_huge_pmd to use a folio Message-ID: References: <20221207023431.151008-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207023431.151008-1-wangkefeng.wang@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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Wed, Dec 07, 2022 at 10:34:30AM +0800, Kefeng Wang wrote: > Using folios instead of pages removes several calls to compound_head(), > > Signed-off-by: Kefeng Wang Reviewed-by: Vishal Moola (Oracle)