Re: [PATCH net-next 0/2] Introduce rtnl_lock_killable()

2018-03-16 Thread David Miller
From: Kirill Tkhai Date: Wed, 14 Mar 2018 22:17:11 +0300 > rtnl_lock() is widely used mutex in kernel. Some of kernel code > does memory allocations under it. In case of memory deficit this > may invoke OOM killer, but the problem is a killed task can't > exit if it's waiting for the mutex. This

[PATCH net-next 0/2] Introduce rtnl_lock_killable()

2018-03-14 Thread Kirill Tkhai
rtnl_lock() is widely used mutex in kernel. Some of kernel code does memory allocations under it. In case of memory deficit this may invoke OOM killer, but the problem is a killed task can't exit if it's waiting for the mutex. This may be a reason of deadlock and panic. This patchset adds a new pr