Messages in this thread | | | From | Peter Oskolkov <> | Date | Mon, 24 Jan 2022 09:06:29 -0800 | Subject | Re: [RFC][PATCH v2 5/5] sched: User Mode Concurency Groups |
| |
On Mon, Jan 24, 2022 at 8:44 AM Peter Zijlstra <peterz@infradead.org> wrote:
[...] > > > > Oh how I hate signals... this can get scribbled by a syscall/fault from > > sigcontext :/ > > > > Maybe I can recover the timo argument from the original syscall > > pt_regs.. let me try.
I don't think we need to do anything special with timeouts if a signal happens - just normally return -EINTR (after a resume from a server) and let the userspace figure things out.
Alternatively, in my version of the patchset UMCG tasks ignore non-fatal signals. :)
[...]
| |