Skip to content

make vfork() killable

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4introduce complete_vfork_done()fs/exec.c include/linux/sched.h kernel/fork.c+13 -132 replies
2/4vfork: make it killableinclude/linux/sched.h kernel/fork.c+33 -92 replies
3/4coredump_wait: don't call complete_vfork_done()fs/exec.c include/linux/sched.h kernel/fork.c+3 -140 replies
4/4kill PF_STARTINGinclude/linux/sched.h kernel/fork.c+0 -100 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTejun HeoFrederic WeisbeckerMandeep Singh BainesPaul E. McKenney
SeriesA-b A-b A-b
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] make vfork() killable
Quoted 3 lines · Oleg Nesterov

Btw, there is another example of "unbounded" sleep in UNINTERRUPTIBLE, vfork. I already have the patches, will send today.

Make vfork() killable, please apply.

These patches are old (Aug 2011), they spent a lot of time in linux-next without any problem. Linus participated in the discussion, iiuc he has no objections.

The next step is make vfork() stoppable/traceable.

Oleg.