From: Andrew Morton <akpm@linux-foundation.org>
To: yongli-oc <yongli-oc@zhaoxin.com>
Cc: <linux-kernel@vger.kernel.org>, <yongli@zhaoxin.com>,
<cobechen@zhaoxin.com>, <louisqi@zhaoxin.com>,
<jiangbowang@zhaoxin.com>
Subject: Re: [PATCH] Support lockref reference count if enable LOCK_STAT
Date: Thu, 14 Nov 2024 16:14:00 -0800 [thread overview]
Message-ID: <20241114161400.72259c36cca41c0c2da6d971@linux-foundation.org> (raw)
In-Reply-To: <20241113085703.148839-1-yongli-oc@zhaoxin.com>
On Wed, 13 Nov 2024 16:57:03 +0800 yongli-oc <yongli-oc@zhaoxin.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?
next prev parent reply other threads:[~2024-11-15 0:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 8:57 yongli-oc
2024-11-13 22:08 ` kernel test robot
2024-11-13 22:08 ` kernel test robot
2024-11-15 0:14 ` Andrew Morton [this message]
2024-11-15 7:30 ` yongli-oc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241114161400.72259c36cca41c0c2da6d971@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=cobechen@zhaoxin.com \
--cc=jiangbowang@zhaoxin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=louisqi@zhaoxin.com \
--cc=yongli-oc@zhaoxin.com \
--cc=yongli@zhaoxin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®