Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp935814rwj; Thu, 22 Dec 2022 17:42:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXs7cn3azlgllrgf3PUI+ClWRB3kXE8OWYPW77TRgLngPB7XaTd7HN2kSTHjmyH/TtUZI7oY X-Received: by 2002:aa7:da42:0:b0:46c:2034:f481 with SMTP id w2-20020aa7da42000000b0046c2034f481mr7710136eds.8.1671759720020; Thu, 22 Dec 2022 17:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671759720; cv=none; d=google.com; s=arc-20160816; b=Wqhb0xdSdyMTKSZ+Bd+Y898eOQCFc7ZXdy7KSXRmU2wwGoMTTjiJvbc6fh57fiNgCN 6Bg6TawDrjIQ2t5UHPwfie5ccTO1JqUwFiotgzyZ3+Nkw5NdmA4fqbXAqN++bqe1yfMF KnVFEO0oW8GT1dOApfPVEaxs9SUhxeZhBfTGmBSH/p/6ZxBF+cTAmKGaCTW55GXN4gX4 0q1m7TeHA1wfYKLknhaZXGaal4lWOYnehzxynFqs/sC3gXQA2ZPtzvVuOOVlJAbtuh2g BcvpfhWQLwneBLuRFHaouvPz9WlYaheKN6YQ7FgQaTenMlfPTzPX/4OAaiScK6BGCMAH 77Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=X/gOWZAaD8SBIOiOmfYa59YShOa8ycZ4ayxBa1jRd7E=; b=wJ1vFBKdTXak3qWwc6P4E2w8VKFGB1ZxJxC8e7Ng5FdsTg7I76iH3fVchV93Y/fczt mxkVlQGkgJ1+viTocuukh1GxpEYxj1y+H/UUyU89Zzxu3q3LhGN33s8KD6AX/0QbH7So qbrvZR9dijILxh4cUYZbkg8coomXKJC9+aIaUOPWk8tpVxBQWEq1iv/4BK6xWrWQrPZO tE7cwWOxdAsCgR6XS3ORVfzh76I26U0NpBukofpcFngZ+B2V5zAzlu4j3PKkGk/zh7jJ zr8Le2UQvMKNAN3CzznRdAq+jhDdfFBrcFfzBc6idoO9Ek8/H3cGjvB+LwPKf0ssgHwE 3p3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=tmaHZMPc; 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 j17-20020a05640211d100b00451e0d930dfsi2104071edw.497.2022.12.22.17.41.44; Thu, 22 Dec 2022 17:41:59 -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=@google.com header.s=20210112 header.b=tmaHZMPc; 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 S236024AbiLWBKc (ORCPT + 68 others); Thu, 22 Dec 2022 20:10:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235891AbiLWBKJ (ORCPT ); Thu, 22 Dec 2022 20:10:09 -0500 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07FE522296 for ; Thu, 22 Dec 2022 17:04:44 -0800 (PST) Received: by mail-vs1-xe36.google.com with SMTP id c184so3299983vsc.3 for ; Thu, 22 Dec 2022 17:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X/gOWZAaD8SBIOiOmfYa59YShOa8ycZ4ayxBa1jRd7E=; b=tmaHZMPcPeETZRodOkbShU4wP1wCu3ctqiGNC19OZf6gr4rulXNp5EZfuq4CH5y8N/ SVjpjpbPPAoe8VlZ3gMgUYszT5U8lshoTljFb0MQZurhw2j2r5wnY10LW6cdWwlX36hR YTOaluFUI/V4/SVekarIA9spgFf4y2lXk/q1+Y0Gqn6rywM979v4uR0kB47S+NIuMsXh 2R7jCVy0/sMWNjjqT8SQjPMyy79DXKkv+t0nw31l8oNTDGGeVYFpeAanUoqSKZOi1lKH C134VdbgAdl/NzxqVQQeNNpmdHAp/H6yhJv05N+nJNZYBVQGxQtoLjkQfbpMDug7svf7 4z2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=X/gOWZAaD8SBIOiOmfYa59YShOa8ycZ4ayxBa1jRd7E=; b=bYycSD5iessC0G/GNa4i4qf6/XwMneE81Fr4CJghSRZvtCmZ3aI09E+DJ+ol3YC2OK 02ckgnd6/SpHDq67EmHBKZnminMTubkP3YUOkEDyGVg+cw6KAJ9NDjFngIXEepYaWpcd 8lQP1uz4IVzCRDw+h9AxhGr/OQUIn+7T7dnebWrGtiHqXbgftqHWiopqSBy8gRb6pY5G Hu537ydwl8XzR/84L2U45dPCvHzTYpvqsvoYTOhlj8vKvGgfsNg/ivQ6zSarDq2ctEMt u4RVXPW5Qw6Nw6zKs7BAnqIa/2oBtm73Kc0K8TFLxwC6T6BLgyxkRmuoO/Qkfphf8YxC EUmA== X-Gm-Message-State: AFqh2kpswVi2ZpZUg2kIkf4EwLF8jpbsvlNEtfMm6ytJyO4MfMw+7iB6 VKix6uQU8zf0SY4uVTiHr5ZPLwRS1O2MgBVUcKmV9ErECE3kiOmy X-Received: by 2002:a67:c486:0:b0:3aa:f64:fbfd with SMTP id d6-20020a67c486000000b003aa0f64fbfdmr975101vsk.15.1671757483050; Thu, 22 Dec 2022 17:04:43 -0800 (PST) MIME-Version: 1.0 References: <20221221180848.20774-1-vishal.moola@gmail.com> <20221221180848.20774-5-vishal.moola@gmail.com> In-Reply-To: <20221221180848.20774-5-vishal.moola@gmail.com> From: Yu Zhao Date: Thu, 22 Dec 2022 18:04:07 -0700 Message-ID: Subject: Re: [PATCH v4 4/4] mm/swap: Convert deactivate_page() to folio_deactivate() To: "Vishal Moola (Oracle)" Cc: linux-mm@kvack.org, damon@lists.linux.dev, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, sj@kernel.org, willy@infradead.org Content-Type: text/plain; charset="UTF-8" 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, 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 Wed, Dec 21, 2022 at 11:10 AM Vishal Moola (Oracle) wrote: > > Deactivate_page() has already been converted to use folios, this change > converts it to take in a folio argument instead of calling page_folio(). > It also renames the function folio_deactivate() to be more consistent > with other folio functions. There is one more in mm/vmscan.c. Please git grep.