Searched hist:"19 efbd93e6fb05eab81856b4fc8d64211dd37088" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | rtnetlink.h | diff 19efbd93e6fb05eab81856b4fc8d64211dd37088 Mon Feb 19 03:58:38 CST 2018 Kirill Tkhai <ktkhai@virtuozzo.com> net: Kill net_mutex
We take net_mutex, when there are !async pernet_operations registered, and read locking of net_sem is not enough. But we may get rid of taking the mutex, and just change the logic to write lock net_sem in such cases. This obviously reduces the number of lock operations, we do.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | net_namespace.c | diff 19efbd93e6fb05eab81856b4fc8d64211dd37088 Mon Feb 19 03:58:38 CST 2018 Kirill Tkhai <ktkhai@virtuozzo.com> net: Kill net_mutex
We take net_mutex, when there are !async pernet_operations registered, and read locking of net_sem is not enough. But we may get rid of taking the mutex, and just change the logic to write lock net_sem in such cases. This obviously reduces the number of lock operations, we do.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/ |
H A D | net_namespace.h | diff 19efbd93e6fb05eab81856b4fc8d64211dd37088 Mon Feb 19 03:58:38 CST 2018 Kirill Tkhai <ktkhai@virtuozzo.com> net: Kill net_mutex
We take net_mutex, when there are !async pernet_operations registered, and read locking of net_sem is not enough. But we may get rid of taking the mutex, and just change the logic to write lock net_sem in such cases. This obviously reduces the number of lock operations, we do.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|