* [merged mm-stable] mm-mlock-use-folios_put-in-mlock_folio_batch.patch removed from -mm tree
@ 2023-04-18 23:34 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-04-18 23:34 UTC (permalink / raw)
To: mm-commits, willy, vbabka, mgorman, lstoakes, zhengqi.arch, akpm
The quilt patch titled
Subject: mm: mlock: use folios_put() in mlock_folio_batch()
has been removed from the -mm tree. Its filename was
mm-mlock-use-folios_put-in-mlock_folio_batch.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: Qi Zheng <zhengqi.arch@bytedance.com>
Subject: mm: mlock: use folios_put() in mlock_folio_batch()
Date: Thu, 6 Apr 2023 00:18:54 +0800
Since we have updated mlock to use folios, it's better to call
folios_put() instead of calling release_pages() directly.
Link: https://lkml.kernel.org/r/20230405161854.6931-2-zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/mlock.c~mm-mlock-use-folios_put-in-mlock_folio_batch
+++ a/mm/mlock.c
@@ -206,7 +206,7 @@ static void mlock_folio_batch(struct fol
if (lruvec)
unlock_page_lruvec_irq(lruvec);
- release_pages(fbatch->folios, fbatch->nr);
+ folios_put(fbatch->folios, folio_batch_count(fbatch));
folio_batch_reinit(fbatch);
}
_
Patches currently in -mm which might be from zhengqi.arch@bytedance.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-18 23:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 23:34 [merged mm-stable] mm-mlock-use-folios_put-in-mlock_folio_batch.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.