* [folded-merged] kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix-2.patch removed from -mm tree
@ 2022-03-25 0:29 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-25 0:29 UTC (permalink / raw)
To: mm-commits, bigeasy, andreyknvl, dan.carpenter, akpm
The patch titled
Subject: mm: remove unnecessary check in alloc_thread_stack_node()
has been removed from the -mm tree. Its filename was
kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix-2.patch
This patch was dropped because it was folded into kasan-arm64-reset-pointer-tags-of-vmapped-stacks.patch
------------------------------------------------------
From: Dan Carpenter <dan.carpenter@oracle.com>
Subject: mm: remove unnecessary check in alloc_thread_stack_node()
The "stack" pointer cannot be NULL at this point so there is no
need to check.
Link: https://lkml.kernel.org/r/20220301080706.GB17208@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/fork.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/kernel/fork.c~kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix-2
+++ a/kernel/fork.c
@@ -328,8 +328,7 @@ static int alloc_thread_stack_node(struc
* so cache the vm_struct.
*/
tsk->stack_vm_area = vm;
- if (stack)
- stack = kasan_reset_tag(stack);
+ stack = kasan_reset_tag(stack);
tsk->stack = stack;
return 0;
}
_
Patches currently in -mm which might be from dan.carpenter@oracle.com are
kasan-arm64-reset-pointer-tags-of-vmapped-stacks.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-25 0:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 0:29 [folded-merged] kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix-2.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.