Re: [PATCH 0/11] Short circuit delivery for coredump signals

From: Oleg Nesterov

Date: Sun Jul 05 2026 - 11:55:10 EST


On 07/03, Eric W. Biederman wrote:
>
> Oleg Nesterov <oleg@xxxxxxxxxx> writes:
>
> > Yes, the coredumping process is not dead. Yet. It can do a lot of activity
> > and use a lot of resources.
>
> It is semantically dead. Pragmatically I completely agree.
>
> >> Do you know of something where userspace actually depends upon
> >> killing a coredump before it even starts?
> >
> > Well. I think a user has all rights to assume that SIGKILL must always
> > terminate the process asap, the process killed by SIGKILL must not start
> > the coredumping.
>
> If we arrange things so that semantically SIGKILL is delivered before
> the signal that triggers the coredump, we can do that without semantic
> complications. The window is tiny enough I am not certain it matters.

Well, I still disagree, but let's not argue about this.

SIGKILL can be lost.

IMO, this is an unnecessary regression which should be avoided, regardless
of how unlikely or harmless it may seem.

> There are other issues with that part of code as well.
>
> Can we please look at all of these issues after I post the next version
> of my patchset (later today)? I don't think anything else depends upon them.

Eric, I see you sent V2.

Sorry! I didn't have time to take a look.

I'll try to read your patches next week when I get back to work. Hopefully on
Wednesday. Sorry for delay.

Oleg.