* + fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix.patch added to mm-unstable branch
@ 2026-10-20 1:05 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-10-20 1:05 UTC (permalink / raw)
To: mm-commits, vbabka, usama.anjum, pfalcato, ngocquy0700, ljs, liam,
jannh, akpm
The patch titled
Subject: fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix
has been added to the -mm mm-unstable branch. Its filename is
fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix
Date: Mon Oct 19 06:04:17 PM PDT 2026
remove unneeded & undesirable test for !mm
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Jann Horn <jannh@google.com>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Muhammad Usama Anjum <usama.anjum@arm.com>
Cc: Ngoc Quy <ngocquy0700@gmail.com>
Cc: Pedro Falcato <pfalcato@suse.de>
Cc: Vlastimil Babka <vbabka@kernel.org>
---
fs/proc/task_mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/task_mmu.c~fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix
+++ a/fs/proc/task_mmu.c
@@ -3125,7 +3125,7 @@ static long do_pagemap_scan(struct mm_st
size_t n_ranges_out = 0;
int ret;
- if (!mm || !mmget_not_zero(mm))
+ if (!mmget_not_zero(mm))
return -ESRCH;
ret = pagemap_scan_get_args(&p.arg, uarg);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
bio-iov-iter-rollback.patch
mm-damon-core-introduce-damos_quota_goal-complement-fix.patch
fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix.patch
lib-cmdline-fix-get_options-count-and-overflow-with-large-ranges-fix.patch
drivers-media-v4l2-core-v4l2-vp9c-reduce-inlining.patch
fat-roll-back-the-new-entry-when-create-mkdir-fails-to-build-the-inode-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 1:05 + fs-proc-task_mmu-pin-mm_users-in-do_pagemap_scan-fix.patch added to mm-unstable branch 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.