Skip to content

mm: task_stack: Stack handling cleanups

Linus Walleij linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20250829-fork-cleanups-for-dynstack-2051bdf2a2ea

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2fork: check charging success before zeroing stackkernel/fork.c+5 -52 repliesApplied
2/2task_stack.h: Clean-up stack_not_used() implementationkernel/exit.c+14 -92 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLiam R. HowlettLorenzo Stoakes
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mm: task_stack: Stack handling cleanups

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.

---
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,

Signature · 1 line
Linus Walleij <[email protected]>