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: Michal Hocko <mhocko@kernel.org>
Date: 2015-08-27 08:38:27

On Wed 26-08-15 16:28:52, Oleg Nesterov wrote:
Hi Michal,

On 08/26, Michal Hocko wrote:
quoted
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.
Good point. Thanks!
-- 
Michal Hocko
SUSE Labs

--
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