[<prev] [next>] [day] [month] [year] [list]
Message-ID: <76hefz2y5u62a6efpvi3336pwhoqhrjq5vqfzktw25xu6l7whj@vhv7klyreubm>
Date: Wed, 28 May 2025 17:00:43 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: JP Kobryn <inwardvessel@...il.com>
Cc: tj@...nel.org, llong@...hat.com, klarasmodin@...il.com,
yosryahmed@...gle.com, mkoutny@...e.com, hannes@...xchg.org, akpm@...ux-foundation.org,
cgroups@...r.kernel.org, kernel-team@...a.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH linus/master] cgroup: adjust criteria for rstat subsystem
cpu lock access
On Wed, May 28, 2025 at 04:51:30PM -0700, JP Kobryn wrote:
> Previously it was found that on uniprocessor machines the size of
> raw_spinlock_t could be zero so a pre-processor conditional was used to
> avoid the allocation of ss->rstat_ss_cpu_lock. The conditional did not take
> into account cases where lock debugging features were enabled. Cover these
> cases along with the original non-smp case by explicitly using the size of
> size of the lock type as criteria for allocation/access where applicable.
>
> Signed-off-by: JP Kobryn <inwardvessel@...il.com>
> Fixes: 748922dcfabd "cgroup: use subsystem-specific rstat locks to avoid contention"
> Reported-by: kernel test robot <oliver.sang@...el.com>
> Closes: https://lore.kernel.org/oe-lkp/202505281034.7ae1668d-lkp@intel.com
Reviewed-by: Shakeel Butt <shakeel.butt@...ux.dev>
Powered by blists - more mailing lists