[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241114161400.72259c36cca41c0c2da6d971@linux-foundation.org>
Date: Thu, 14 Nov 2024 16:14:00 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: yongli-oc <yongli-oc@...oxin.com>
Cc: <linux-kernel@...r.kernel.org>, <yongli@...oxin.com>,
<cobechen@...oxin.com>, <louisqi@...oxin.com>, <jiangbowang@...oxin.com>
Subject: Re: [PATCH] Support lockref reference count if enable LOCK_STAT
On Wed, 13 Nov 2024 16:57:03 +0800 yongli-oc <yongli-oc@...oxin.com> wrote:
> Swap the positions of lock and count to support CMPXCHG_LOCKREF
> if SPINLOCK_SIZE > 4 when enable LOCK_STAT. The reference count
> can always be used regardless of the spinlock_t size.
Please fully describe the problem we're solving here? And what are the
runtime effects of this change?
Powered by blists - more mailing lists