Re: [PATCH 2/3] ns: pad refcount
From: Oleg Nesterov
Date: Sun Nov 23 2025 - 13:58:37 EST
On 11/23, Mateusz Guzik wrote:
>
> struct ns_common {
> + struct {
> + refcount_t __ns_ref; /* do not use directly */
> + } ____cacheline_aligned_in_smp;
Cough... stupid question. Why not just
refcount_t __ns_ref ____cacheline_aligned_in_smp;
? why do we need the anonymous struct?
Oleg.