* [merged mm-stable] mmpage_owner-drop-unnecesary-check.patch removed from -mm tree
@ 2024-03-06 21:05 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-03-06 21:05 UTC (permalink / raw)
To: mm-commits, vbabka, oliver.sang, mhocko, glider, elver,
andreyknvl, osalvador, akpm
The quilt patch titled
Subject: mm,page_owner: drop unnecessary check
has been removed from the -mm tree. Its filename was
mmpage_owner-drop-unnecesary-check.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: Oscar Salvador <osalvador@suse.de>
Subject: mm,page_owner: drop unnecessary check
Date: Wed, 6 Mar 2024 13:32:17 +0100
stackdepot only saves stack_records which size is greather than 0,
so we cannot possibly have empty stack_records.
Drop the check.
Link: https://lkml.kernel.org/r/20240306123217.29774-3-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: kernel test robot <oliver.sang@intel.com>
Cc: Marco Elver <elver@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_owner.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/mm/page_owner.c~mmpage_owner-drop-unnecesary-check
+++ a/mm/page_owner.c
@@ -865,8 +865,7 @@ static int stack_print(struct seq_file *
entries = stack_record->entries;
stack_count = refcount_read(&stack_record->count) - 1;
- if (!nr_entries || nr_entries < 0 || stack_count < 1 ||
- stack_count < page_owner_stack_threshold)
+ if (stack_count < 1 || stack_count < page_owner_stack_threshold)
return 0;
for (i = 0; i < nr_entries; i++)
_
Patches currently in -mm which might be from osalvador@suse.de are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-06 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 21:05 [merged mm-stable] mmpage_owner-drop-unnecesary-check.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.