On Mon, Feb 17, 2025 at 07:14:45PM -0800, JP Kobryn wrote: > Where functions access the global per-cpu lock, change their signature > to accept the lock instead as a paremeter. Change the code within these > functions to only access the parameter. This indirection allows for > future code to accept different locks, increasing extensibity. For > example, a new lock could be added specifically for the bpf cgroups and > it would not contend with the existing lock. > > Signed-off-by: JP Kobryn <inwardvessel@xxxxxxxxx> Reviewed-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>