Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2390628rwd; Fri, 9 Jun 2023 10:25:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ofK+c6N7o1hRRs5lgbUwJOAmAqtsN2AeIzWwMgy4U+Dcsj63qcDNCOEKu5oemNgbejpJ1 X-Received: by 2002:a17:903:1109:b0:1b0:2d08:eb51 with SMTP id n9-20020a170903110900b001b02d08eb51mr2119952plh.12.1686331547755; Fri, 09 Jun 2023 10:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686331547; cv=none; d=google.com; s=arc-20160816; b=RgSYuTjVvfRjU44vF4GNHhUyR4rMa/sYDsDuwA3Qdt2kPeRKK4UcYQ5mII5Ga1y7qL lnwSpsi4U+MgDbhNVzuRIaZhu+qXcqL/EuWok7hl1uyhBn4kWDEi8jlH8JbIPsBMz7Tb D/KMS1A1yG3WOljnaaacXHQS+F1OZ/7BkJQpXNFxHihwBPqYaa0TGWsE299fUpfbVkI+ uR03un8ykb8qYxQE2l5oEfh79rNZ0D1HWuD/OnXDkLvk18Pfm/8FtPPrz3fkc37eD01P pp6PQqVdGDviBQq/w4rI8szm5RavZ/Dol5R3XWXLAmzQ1VenGQdK0X5PkObC8gC5oI2c s0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9+m9vgj+axxj/sV+0YTVNEhE062Nk+Gu6UrzhqyO0tA=; b=oygsQtosDAfu0wMZZJ9ejFzX6i7nAes4AlaFl86YEFVv45mrCilM1/J/ezdBvaZeYm /yfEcKbTMqiZW+TT4O2fIjKtleieXg35VURjAMXUg28JCxS7pRyFpyu4v2moAeMf5BtT C/3b54UAI27ixTD+X4upsvAz48BNblLqGsYDeV9EmtWgHf1Y79Lpx5DwAWPvi6GEkRJI HmOAOGi8vnX8WNail/jTK11Inl6+G/Es+Cjy7UpJGlMdurVlgw5ZZ2IVE00vhc95e7wF d4eNZDoNi6hnbjcx+iB4RCZdFwnN4k3g1ClVHionoP/OqF25OH1Wi99JZZ+4j4w91OV6 GCCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="5QVk/GVb"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170903244200b001b11168bde3si2949434pls.521.2023.06.09.10.25.23; Fri, 09 Jun 2023 10:25:47 -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=@google.com header.s=20221208 header.b="5QVk/GVb"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbjFIRPC (ORCPT + 99 others); Fri, 9 Jun 2023 13:15:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbjFIRPA (ORCPT ); Fri, 9 Jun 2023 13:15:00 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C84F53AA3 for ; Fri, 9 Jun 2023 10:14:52 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-3f9d619103dso1031cf.1 for ; Fri, 09 Jun 2023 10:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686330892; x=1688922892; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9+m9vgj+axxj/sV+0YTVNEhE062Nk+Gu6UrzhqyO0tA=; b=5QVk/GVbkZi6vTXzW3g5GqMBVejzLD9NBNYpv4o72oGJn/J9ohwUsJFscyIffB9GKP +Yr+wSrkRIkEkEzqdtiERJH3m/4E6PRftxA5rgxZFEKqw+CMnEVtfeeToSaYdMCAi+11 atr3F3ebDuu0FOPo7H6436wh9kni4AWX7hZL8sw27ndPGNpXaZVYEpEG2RJWzeFKCXZo yZGzD5qAlvF9i2SCJab0sEELk04jVvwJoLtIHTdrNofSYUPqTDgJ5cTm27/h3OKfnFIT A4j9IDF/+uE5PLdIG7gMqfl/Yp1BB/LQcI4ywhFwwLXApUnMP3oC7CFRTZ2qfS+7kyd3 2D+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686330892; x=1688922892; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9+m9vgj+axxj/sV+0YTVNEhE062Nk+Gu6UrzhqyO0tA=; b=UpsuzTZ9JITm5HfGPs8mcCBS026WUIDWX9Y9LH6FOYDafX0fiv2S/HZvEJWPsG2t4+ lqJGOp75fFQQq32/RX7VKpXYnvAYms8bg33Bh1QV5EDxaSGgn9y7tkmxt4gM66Xsky+u L6Y9XXsz1uhf1zrZA419MR6ZA8h3HwjqbTg5mikTgFzSJbah+Rmrot7204+tPeHkHnMT 2n2hYvw0Jf8rfHKVhKaawp++SNWk4PmgwOfqSMaUL8cfkov9MIzU3CLegnvtlj+rvRam VfwCGeBJN3BVXzHClcfIhowfm1c1PWuOGfxNEVjNUr7oF1KDMp0QS76e2Bh3G4lBR/7Y 5LJg== X-Gm-Message-State: AC+VfDxqBG/3GEvIirLiQAlPiuB1F68KkZl29VwuGlWvw9XBY6fIpPAS ZlOtbzZGtmqZc4E1K/U/BXXlLJz6h1XcTv16R2PVWQ== X-Received: by 2002:ac8:5784:0:b0:3e8:684b:195d with SMTP id v4-20020ac85784000000b003e8684b195dmr495097qta.10.1686330891802; Fri, 09 Jun 2023 10:14:51 -0700 (PDT) MIME-Version: 1.0 References: <20230609013901.79250-1-wangkefeng.wang@huawei.com> In-Reply-To: <20230609013901.79250-1-wangkefeng.wang@huawei.com> From: Yu Zhao Date: Fri, 9 Jun 2023 11:14:15 -0600 Message-ID: Subject: Re: [PATCH] mm: kill [add|del]_page_to_lru_list() To: Kefeng Wang Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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, Jun 8, 2023 at 7:23=E2=80=AFPM Kefeng Wang wrote: > > Directly call lruvec_del_folio(), and drop unused page interfaces. > > Signed-off-by: Kefeng Wang Acked-by: Yu Zhao