Thread (14 messages) 14 messages, 3 authors, 2015-08-27

Re: [REPOST] [PATCH 2/2] mm,oom: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

From: Oleg Nesterov <oleg@redhat.com>
Date: 2015-08-26 14:31:24

Hi Michal,

On 08/26, Michal Hocko wrote:
I cannot seem to find any explicit note about task_lock vs. signal
nesting nor task_lock() anywhere in kernel/signal.c so I rather ask. Can
we call do_send_sig_info with task_lock held?
Yes.

Simply because task_lock() doesn't disable irqs and (unfortunately ;)
we do send the signals from interrupts.

Oleg.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help