Messages in this thread | | | Subject | Re: [PATCH] kernel: make TIF_NOTIFY_SIGNAL and core dumps co-exist | From | Olivier Langlois <> | Date | Sun, 22 Aug 2021 16:55:06 -0400 |
| |
On Thu, 2021-08-19 at 08:59 -0600, Jens Axboe wrote: > > You're absolutely right. On the io_uring side, in the current tree, > there's only one check where current != task being checked - and > that's > in the poll rewait arming. That one should likely just go away. It > may > be fine as it is, as it just pertains to ring exit cancelations. We > want > to ensure that we don't rearm poll requests if the process is > canceling > and going away. I'll take a closer look at that one. > > For this particular patch, I agree it's racy. I'll see if I can come > up > with something better... > I have finally found the patch that you wanted me to test. I'm going to do it ASAP despite still having issue.
I do have a different approach to solve the same core dump issue.
Feel free to consider it if this can avoid the race condition described here.
| |