Skip to contentSkip to conversation

page_alloc-remove-inactive-initialization.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 12, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: page_alloc: remove inactive initialization
has been removed from the -mm tree. Its filename was
page_alloc-remove-inactive-initialization.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: Li kunyu <[email protected]>
Subject: page_alloc: remove inactive initialization
Date: Wed, 3 Aug 2022 14:41:18 +0800

The allocation address of the table pointer variable is first performed in the function, no initialization assignment is required, and no invalid pointer will appear.

---

 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_alloc.c renamed from mm/page_alloc.c~page_alloc-remove-inactive-initialization +1 -1
@@ -8974,7 +8974,7 @@ void *__init alloc_large_system_hash(con
 {
 	unsigned long long max = high_limit;
 	unsigned long log2qty, size;
-	void *table = NULL;
+	void *table;
 	gfp_t gfp_flags;
 	bool virt;
 	bool huge;

_

Patches currently in -mm which might be from [email protected] are