Re: [PATCH 0/2] kobject: reduce uevent_sock_mutex contention

From: Greg Kroah-Hartman
Date: Wed Feb 14 2024 - 05:34:34 EST


On Wed, Feb 14, 2024 at 08:48:27AM +0000, Eric Dumazet wrote:
> This series reduces the (small ?) contention over uevent_sock_mutex,
> noticed when creating/deleting many network namespaces/devices.
>
> 1) uevent_seqnum becomes an atomic64_t
>
> 2) Only acquire uevent_sock_mutex whenever using uevent_sock_list

Cool, any boot-time measured speedups from this? Or is this just tiny
optimizations that you noticed doing reviews?

thanks,

greg k-h