lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230224031232.mivsss3ofifbagsb@offworld>
Date:   Thu, 23 Feb 2023 19:12:32 -0800
From:   Davidlohr Bueso <dave@...olabs.net>
To:     Zqiang <qiang1.zhang@...el.com>
Cc:     paulmck@...nel.org, josh@...htriplett.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] locktorture: Add raw_spinlock* torture tests for
 PREEMPT_RT kernels

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@...nel.org>
>Suggested-by: Davidlohr Bueso <dave@...olabs.net>
>Signed-off-by: Zqiang <qiang1.zhang@...el.com>

Reviewed-by: Davidlohr Bueso <dave@...olabs.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ