Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3968612rwe; Mon, 17 Apr 2023 06:18:31 -0700 (PDT) X-Google-Smtp-Source: AKy350b8GJIdIPire7LsD+jkdJOhwYF9mEF6HVj4j43xCg0fnY7VKM6C61ZY5H4pl2BniP0quxnd X-Received: by 2002:a17:902:ab0e:b0:1a6:37a6:f41a with SMTP id ik14-20020a170902ab0e00b001a637a6f41amr11190478plb.45.1681737511423; Mon, 17 Apr 2023 06:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681737511; cv=none; d=google.com; s=arc-20160816; b=ju1cBf2SJMDnfTkqRLi4TfM1BM/KNI+1WetnFXki3VQESXpWm+bgRJQoFybMPhtbyH asdRyGJuW4WBEuYmbpmvN/EafoJ1HllH8TCGEjvbl02N0b/EE1IfSacIEKHY+PFlxUcM MzDH40xvK5cgQUwNmeDQC8xMm5faaDVraEB0whDUYcHja7UHi5qNmFfBtA/Sk5j2XZE8 QJycIPR0s9PmRMg9wwqp/f+AEw+d6ijwod0hGlKTf6T4XYjtQQrqbuHc5wlTl/HKY2Jm Z9TqWmjnHxTvip83ydks9vpWtBV9Gv50XSjBPAU0d6oxqrHWjXrTXPTL2Wx2FyGtBcvN ScYA== 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=IZlRCgtX5IQicJJFBQ4raUWB1nTCPFpnxgFG05BQAEA=; b=PnYAwbMPye/mNpa6RO75ok9m+8fI0gKAoAhR8TnFjdCzhjBt/w3XnhDSKcJIcZsU59 ypKcXIWnIJbAyDu5Yy9p2MhDVZS6WkmYYQ7hTo6AfGyOk0tBc7EdwA8jAi6irkqD5wca 4gAmk9F+IsuSNQg4pNQY9/Xxs4pxvYr3ah8waq4BK7RgUjtES/2r4ThzqAFrWHD6UCz/ qKgEQE5yNzc6RzMfHWEIf7LLcavjnT4YTST1qzfeZHscHdMZyBsjWj+Rke2vNioV302i iANBWmtmBwZiGXgUjPb8fKOHRzV2AGjOjJcm44Hfiuo9yhHzdHZbpGA9b1c7CpbadKAW Ja7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vDadV0aP; 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 d19-20020a170902aa9300b001a6e5be610esi1583083plr.297.2023.04.17.06.17.57; Mon, 17 Apr 2023 06:18:31 -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=vDadV0aP; 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 S229609AbjDQNPb (ORCPT + 99 others); Mon, 17 Apr 2023 09:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjDQNO6 (ORCPT ); Mon, 17 Apr 2023 09:14:58 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A91C125 for ; Mon, 17 Apr 2023 06:14:22 -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=IZlRCgtX5IQicJJFBQ4raUWB1nTCPFpnxgFG05BQAEA=; b=vDadV0aPunhEVOtIMmhKDe4fPu 4NKSXbGwaPoIPecZXCOS6rIhHLgPr5HB5jm0265CJr/GICNlTb+cdVuLRC3k06bIEN4otIXwgexAZ 7CZ/O8Mv06L1mrbvd5JfDvfypz7R23w1pUL8XmKqs8k0o4ZrnSzDV7QVvFRMF+4FJ5Qv+IzruLVwI MnR3dFP+jtL25jBKCSN0oEvkZAyIO9L+QogINlfv/ZaAThutXSmEJt9MKp41ipNGuorUWRDT+w5DV OYvDEyFberreBZl442pMX6ZBzJQBDvMUnadxJB7LjBmofTnImo1S14fFgz3KIuRc09L7pPbUDWHcn RVeoIR1Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1poOg2-00BMa6-9h; Mon, 17 Apr 2023 13:13:50 +0000 Date: Mon, 17 Apr 2023 14:13:50 +0100 From: Matthew Wilcox To: Kefeng Wang Cc: Andrew Morton , linux-mm@kvack.org, SeongJae Park , Hugh Dickins , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: correct arg in reclaim_pages()/reclaim_clean_pages_from_list() Message-ID: References: <20230417114807.186786-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230417114807.186786-1-wangkefeng.wang@huawei.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Mon, Apr 17, 2023 at 07:48:07PM +0800, Kefeng Wang wrote: > Both of them change the arg from page_list to folio_list when convert > them to use a folio, but not the declaration, let's correct it, also > move the reclaim_pages() from swap.h to internal.h as it only used > in mm. > > Signed-off-by: Kefeng Wang Reviwed-by: Matthew Wilcox (Oracle)