Re: [PATCH 1/2 v3] net: add uevent socket member

2018-03-19 Thread Christian Brauner
On Mon, Mar 19, 2018 at 02:53:09PM +0300, Kirill Tkhai wrote: > Thanks for doing this. One small comment below. > > On 17.03.2018 14:08, Christian Brauner wrote: > > This commit adds struct uevent_sock to struct net. Since struct uevent_sock > > records the position of the uevent socket in the

Re: [PATCH 1/2 v3] net: add uevent socket member

2018-03-19 Thread Christian Brauner
On Mon, Mar 19, 2018 at 02:53:09PM +0300, Kirill Tkhai wrote: > Thanks for doing this. One small comment below. > > On 17.03.2018 14:08, Christian Brauner wrote: > > This commit adds struct uevent_sock to struct net. Since struct uevent_sock > > records the position of the uevent socket in the

Re: [PATCH 1/2 v3] net: add uevent socket member

2018-03-19 Thread Kirill Tkhai
Thanks for doing this. One small comment below. On 17.03.2018 14:08, Christian Brauner wrote: > 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

Re: [PATCH 1/2 v3] net: add uevent socket member

2018-03-19 Thread Kirill Tkhai
Thanks for doing this. One small comment below. On 17.03.2018 14:08, Christian Brauner wrote: > 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

[PATCH 1/2 v3] net: add uevent socket member

2018-03-17 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

[PATCH 1/2 v3] net: add uevent socket member

2018-03-17 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