From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAD97C761A6 for ; Tue, 28 Mar 2023 23:21:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbjC1XVy (ORCPT ); Tue, 28 Mar 2023 19:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbjC1XVe (ORCPT ); Tue, 28 Mar 2023 19:21:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D6C22D76 for ; Tue, 28 Mar 2023 16:21:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3AFE4619AC for ; Tue, 28 Mar 2023 23:21:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9682CC433EF; Tue, 28 Mar 2023 23:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1680045683; bh=FpMapaJD3m6xkvIlZmrMC44Cs5sWJp4HnC1xeFOteOA=; h=Date:To:From:Subject:From; b=orRcHEd5itZErCqcBv0e2T6rwzXLVEAv7RZfNbXuUiz+P+Tj//TeNr8hxBw3NHNbs xC2XlI/aAV/Xy0VnipSMZCsXjNzfywKXN9Ec6LehMVfZmVznt4lcZIdJPYFrvI3Odo Te4bz1rGLswNsJK9BmYCZTdz+GNNvJnaIqram6HU= Date: Tue, 28 Mar 2023 16:21:23 -0700 To: mm-commits@vger.kernel.org, willy@infradead.org, wangkefeng.wang@huawei.com, akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] mm-memory-use-folio_throttle_swaprate-in-wp_page_copy.patch removed from -mm tree Message-Id: <20230328232123.9682CC433EF@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The quilt patch titled Subject: mm: memory: use folio_throttle_swaprate() in wp_page_copy() has been removed from the -mm tree. Its filename was mm-memory-use-folio_throttle_swaprate-in-wp_page_copy.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Kefeng Wang Subject: mm: memory: use folio_throttle_swaprate() in wp_page_copy() Date: Thu, 2 Mar 2023 19:58:32 +0800 Directly use folio_throttle_swaprate() instead of cgroup_throttle_swaprate(). Link: https://lkml.kernel.org/r/20230302115835.105364-5-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang Reviewed-by: Matthew Wilcox (Oracle) Signed-off-by: Andrew Morton --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/memory.c~mm-memory-use-folio_throttle_swaprate-in-wp_page_copy +++ a/mm/memory.c @@ -3096,7 +3096,7 @@ static vm_fault_t wp_page_copy(struct vm if (mem_cgroup_charge(new_folio, mm, GFP_KERNEL)) goto oom_free_new; - cgroup_throttle_swaprate(&new_folio->page, GFP_KERNEL); + folio_throttle_swaprate(new_folio, GFP_KERNEL); __folio_mark_uptodate(new_folio); _ Patches currently in -mm which might be from wangkefeng.wang@huawei.com are