Re: [PATCH 08/11] cgroup: rstat cpu lock indirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux