* [folded-merged] mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix.patch removed from -mm tree
@ 2022-05-19 21:03 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-05-19 21:03 UTC (permalink / raw)
To: mm-commits, willy, vdavydov.dev, timmurray, surenb, mhocko,
liumartin, joaodias, hannes, minchan, akpm
The quilt patch titled
Subject: mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix
has been removed from the -mm tree. Its filename was
mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix.patch
This patch was dropped because it was folded into mm-dont-be-stuck-to-rmap-lock-on-reclaim-path.patch
------------------------------------------------------
From: Minchan Kim <minchan@kernel.org>
Subject: mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix
Date: Wed, 4 May 2022 23:11:04 -0700
add comment, per Matthew
Link: https://lkml.kernel.org/r/YnNqeB5tUf6LZ57b@google.com
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: John Dias <joaodias@google.com>
Cc: Tim Murray <timmurray@google.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Martin Liu <liumartin@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_idle.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/mm/page_idle.c~mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix
+++ a/mm/page_idle.c
@@ -87,6 +87,10 @@ static void page_idle_clear_pte_refs(str
{
struct folio *folio = page_folio(page);
+ /*
+ * Since rwc.try_lock is unused, rwc is effectively immutable, so we
+ * can make it static to save some cycles and stack.
+ */
static struct rmap_walk_control rwc = {
.rmap_one = page_idle_clear_pte_refs_one,
.anon_lock = folio_lock_anon_vma_read,
_
Patches currently in -mm which might be from minchan@kernel.org are
mm-dont-be-stuck-to-rmap-lock-on-reclaim-path.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-19 21:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 21:03 [folded-merged] mm-dont-be-stuck-to-rmap-lock-on-reclaim-path-fix.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.