Re: Push kernel lock deep down to sys_sysctl()

2023-05-03 Thread Alexander Bluhm
On Fri, Apr 21, 2023 at 05:17:46PM +0300, Vitaliy Makkoveev wrote: > At least network subset of sysctl(8) MIBs relies on netlock or another > locks and doesn't require kernel lock. Also some integers in other > subsets can be read without kernel lock held. > > Diff below actually pushes kernel

Re: Push kernel lock deep down to sys_sysctl()

2023-05-03 Thread Vitaliy Makkoveev
Ping. > On 21 Apr 2023, at 17:17, Vitaliy Makkoveev wrote: > > At least network subset of sysctl(8) MIBs relies on netlock or another > locks and doesn't require kernel lock. Also some integers in other > subsets can be read without kernel lock held. > > Diff below actually pushes kernel lock

Push kernel lock deep down to sys_sysctl()

2023-04-21 Thread Vitaliy Makkoveev
At least network subset of sysctl(8) MIBs relies on netlock or another locks and doesn't require kernel lock. Also some integers in other subsets can be read without kernel lock held. Diff below actually pushes kernel lock down to net_sysctl(). It is required for MPLS and PFLOW cases. The