2008-07-16 13:50:49

by Oleg Nesterov

[permalink] [raw]
Subject: [PATCH 0/2] 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.


2008-07-18 11:03:19

by David Howells

[permalink] [raw]
Subject: Re: [PATCH 0/2] coredump: make the coredumping process visible to oom kill

Oleg Nesterov <[email protected]> wrote:

> 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

2008-07-18 12:22:47

by Oleg Nesterov

[permalink] [raw]
Subject: Re: [PATCH 0/2] coredump: make the coredumping process visible to oom kill

On 07/18, David Howells wrote:
>
> Oleg Nesterov <[email protected]> wrote:
>
> > 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.