Home
last modified time | relevance | path

Searched hist:"65 b7b5b90fcd17b25ef43b0cd02bda47bf286675" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/core/
H A Dnet_namespace.cdiff 65b7b5b90fcd17b25ef43b0cd02bda47bf286675 Mon Feb 19 03:58:45 CST 2018 Kirill Tkhai <ktkhai@virtuozzo.com> net: Make cleanup_list and net::cleanup_list of llist type

This simplifies cleanup queueing and makes cleanup lists
to use llist primitives. Since llist has its own cmpxchg()
ordering, cleanup_list_lock is not more need.

Also, struct llist_node is smaller, than struct list_head,
so we save some bytes in struct net with this patch.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/net/
H A Dnet_namespace.hdiff 65b7b5b90fcd17b25ef43b0cd02bda47bf286675 Mon Feb 19 03:58:45 CST 2018 Kirill Tkhai <ktkhai@virtuozzo.com> net: Make cleanup_list and net::cleanup_list of llist type

This simplifies cleanup queueing and makes cleanup lists
to use llist primitives. Since llist has its own cmpxchg()
ordering, cleanup_list_lock is not more need.

Also, struct llist_node is smaller, than struct list_head,
so we save some bytes in struct net with this patch.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>