From: Davidlohr Bueso <dave@stgolabs.net>
To: Zqiang <qiang1.zhang@intel.com>
Cc: paulmck@kernel.org, josh@joshtriplett.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] locktorture: Add raw_spinlock* torture tests for PREEMPT_RT kernels
Date: Thu, 23 Feb 2023 19:12:32 -0800 [thread overview]
Message-ID: <20230224031232.mivsss3ofifbagsb@offworld> (raw)
In-Reply-To: <20230224012035.2693610-1-qiang1.zhang@intel.com>
On Fri, 24 Feb 2023, Zqiang wrote:
>In PREEMPT_RT kernels, both spin_lock() and spin_lock_irq() are converted
>to sleepable rt_spin_lock(). This means that the interrupt related suffix
>for spin_lock/unlock(_irq, irqsave/irqrestore) do not affect the CPU's
>interrupt state. This commit therefore adds raw spin-lock torture tests.
>This in turn permits pure spin locks to be tested in PREEMPT_RT kernels.
>
>Suggested-by: Paul E. McKenney <paulmck@kernel.org>
>Suggested-by: Davidlohr Bueso <dave@stgolabs.net>
>Signed-off-by: Zqiang <qiang1.zhang@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
next prev parent reply other threads:[~2023-02-24 3:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 1:20 Zqiang
2023-02-24 3:12 ` Davidlohr Bueso [this message]
2023-02-24 18:35 ` Paul E. McKenney
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=20230224031232.mivsss3ofifbagsb@offworld \
--to=dave@stgolabs.net \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=qiang1.zhang@intel.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®