[PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals()
Dave Airlie
airlied at gmail.com
Tue Sep 15 16:53:33 PDT 2015
On 16 September 2015 at 02:41, Oleg Nesterov <oleg at redhat.com> wrote:
> ping ;)
>
> Andrew, should I re-send this patch? It was acked by Daniel and Dave
> doesn't object.
>
> Dave, I'll appreciate it if you ack it explicitly.
>
>
> On 08/27, Oleg Nesterov wrote:
>>
>> It is hardly possible to enumerate all problems with block_all_signals()
>> and unblock_all_signals(). Just for example,
>>
>> 1. block_all_signals(SIGSTOP/etc) simply can't help if the caller is
>> multithreaded. Another thread can dequeue the signal and force the
>> group stop.
>>
>> 2. Even is the caller is single-threaded, it will "stop" anyway. It
>> will not sleep, but it will spin in kernel space until SIGCONT or
>> SIGKILL.
>>
>> And a lot more. In short, this interface doesn't work at all, at least
>> the last 10+ years.
>>
>> Signed-off-by: Oleg Nesterov <oleg at redhat.com>
Acked-by: Dave Airlie <airlied at redhat.com>
Probably best to go via Andrew alright.
Dave.
More information about the dri-devel
mailing list