Re: [RFC][PATCH v2 5/5] sched: User Mode Concurency Groups
From: Peter Oskolkov
Date: Mon Jan 24 2022 - 12:06:45 EST
On Mon, Jan 24, 2022 at 8:44 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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. :)
[...]