Home
last modified time | relevance | path

Searched hist:"7865 aba3ade4cf30f0ac08e015550084a50d9afb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Dfork.cdiff 7865aba3ade4cf30f0ac08e015550084a50d9afb Thu Feb 17 04:24:02 CST 2022 Sebastian Andrzej Siewior <bigeasy@linutronix.de> fork: Don't assign the stack pointer in dup_task_struct()

All four versions of alloc_thread_stack_node() assign now
task_struct::stack in case the allocation was successful.

Let alloc_thread_stack_node() return an error code instead of the stack
pointer and remove the stack assignment in dup_task_struct().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20220217102406.3697941-5-bigeasy@linutronix.de