Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1225596
| From | Dave Airlie <airlied@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals() |
| Date | 2015-09-16 02:00 +0200 |
| Message-ID | <q98iK-4c5-13@gated-at.bofh.it> (permalink) |
| References | <q28dP-1k5-3@gated-at.bofh.it> <q28dQ-1k5-7@gated-at.bofh.it> <q91AE-24K-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 16 September 2015 at 02:41, Oleg Nesterov <oleg@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@redhat.com> Acked-by: Dave Airlie <airlied@redhat.com> Probably best to go via Andrew alright. Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals() Oleg Nesterov <oleg@redhat.com> - 2015-09-15 18:50 +0200 Re: [PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals() Dave Airlie <airlied@gmail.com> - 2015-09-16 02:00 +0200
csiph-web