mmpage_owner-drop-unnecesary-check.patch removed from -mm tree
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 <[email protected]>
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.
Signed-off-by Oscar Salvador <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Andrey Konovalov <[email protected]>
Cc kernel test robot <[email protected]>
Cc Marco Elver <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_owner.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/page_owner.c renamed from mm/page_owner.c~mmpage_owner-drop-unnecesary-check +1 -2
@@ -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 [email protected] are