coredump: make the coredumping process visible to oom kill
cover coredump: make the coredumping process visible to oom kill
On top of coredump-kill-mm-core_done.patch.
The last patches which change the coredump "thread management", the next step is to make coredump interruptible.
I am worried the recent changes can break elf_fdpic_core_dump(), I can't test it. Hopefully, in that case the fixes should be trivial.
Oleg.
Quoted 2 lines · Oleg Nesterov
I am worried the recent changes can break
elf_fdpic_core_dump(), I can't test it. Hopefully, in that case the fixes should be trivial.
I can't apply your patch 2/2. Is there another patch missing?
David
Quoted 7 lines · David Howells
Quoted 2 lines · Oleg Nesterov
I am worried the recent changes can break
elf_fdpic_core_dump(), I can't test it. Hopefully, in that case the fixes should be trivial.I can't apply your patch 2/2. Is there another patch missing?
Yes, the full series is
coredump-zap_threads-comments-use-while_each_thread.patch introduce-pf_kthread-flag.patch kill-pf_borrowed_mm-in-favour-of-pf_kthread.patch coredump-zap_threads-must-skip-kernel-threads.patch coredump-elf_core_dump-skip-kernel-threads.patch coredump-turn-mm-core_startup_done-into-the-pointer-to-struct-core_state.patch coredump-move-mm-core_waiters-into-struct-core_state.patch coredump-simplify-core_state-nr_threads-calculation.patch coredump-turn-core_state-nr_threads-into-atomic_t.patch coredump-make-mm-core_state-visible-to-core_dump.patch coredump-construct-the-list-of-coredumping-threads-at-startup-time.patch coredump-elf_core_dump-use-core_state-dumper-list.patch coredump-elf_fdpic_core_dump-use-core_state-dumper-list.patch coredump-kill-mm-core_done.patch coredump-binfmt_elf_fdpic-dont-use-sub-threads-mm.patch coredump-exit_mm-clear-mm-first-then-play-with-core_state.patch
The first 5 patches are only needed to avoid the conflicts.
I'll send you this series off-list.
Oleg.