These are some small cleanups for the fork code that was
split off from Pasha:s dynamic stack patch series, they
are generally nice on their own so let's propose them for
merging.
This will go through Andrews tree I suppose.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Pasha Tatashin (2):
fork: check charging success before zeroing stack
task_stack.h: Clean-up stack_not_used() implementation
kernel/exit.c | 23 ++++++++++++++---------
kernel/fork.c | 10 +++++-----
2 files changed, 19 insertions(+), 14 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250829-fork-cleanups-for-dynstack-2051bdf2a2ea
Best regards,
--
Linus Walleij <linus.walleij@linaro.org>