Re: [PATCH net-next 1/2 v4] net: add uevent socket member

2018-03-22 Thread David Miller
From: Christian Brauner Date: Mon, 19 Mar 2018 13:17:30 +0100 > This commit adds struct uevent_sock to struct net. Since struct uevent_sock > records the position of the uevent socket in the uevent socket list we can > trivially remove it from the uevent socket list during cleanup. This speeds >

[PATCH net-next 1/2 v4] net: add uevent socket member

2018-03-19 Thread Christian Brauner
This commit adds struct uevent_sock to struct net. Since struct uevent_sock records the position of the uevent socket in the uevent socket list we can trivially remove it from the uevent socket list during cleanup. This speeds up the old removal codepath. Note, list_del() will hit __list_del_entry_