Kirill Tkhai 79ffdfc652 net: Add rtnl_lock_killable()
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 patch adds a new primitive, which responds on SIGKILL, and
it allows to use it in the places, where we don't want to sleep
forever.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-16 12:31:19 -04:00
..
2018-02-15 14:29:27 -08:00
2018-03-05 10:48:27 -05:00
2018-03-05 10:48:27 -05:00
2018-03-16 12:31:19 -04:00
2018-03-05 10:48:28 -05:00
2017-11-01 12:19:03 +09:00
2018-02-27 11:01:35 -05:00
2018-03-12 11:14:06 -04:00
2017-11-08 16:12:33 +09:00
2018-02-13 10:36:08 -05:00
2018-03-13 11:24:56 -04:00
2018-03-13 11:24:56 -04:00
2018-02-27 14:41:48 -05:00
2018-02-20 13:51:47 -05:00
2018-03-08 12:36:43 -05:00
2018-02-01 09:51:57 -08:00
2018-02-13 10:36:05 -05:00