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: <CAKQ1sVM8LvxuNhch3MNWNgHfntYqsZcJ_2UzMG2FiEmWYU-n0g@mail.gmail.com>
Date: Mon, 15 Jan 2024 16:32:43 +0100
From: Yann Ylavic <ylavic.dev@...il.com>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, Thomas Gleixner <tglx@...utronix.de>, 
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>, linux-kernel@...r.kernel.org, boqun.feng@...il.com, 
	bristot@...hat.com, bsegall@...gle.com, dietmar.eggemann@....com, 
	jstultz@...gle.com, juri.lelli@...hat.com, longman@...hat.com, 
	mgorman@...e.de, mingo@...hat.com, rostedt@...dmis.org, swood@...hat.com, 
	vincent.guittot@...aro.org, vschneid@...hat.com, will@...nel.org
Subject: Re: [PATCH v3 7/7] locking/rtmutex: Acquire the hb lock via trylock
 after wait-proxylock.

On Mon, Jan 15, 2024 at 1:55 PM Jiri Slaby <jirislaby@...nel.org> wrote:
>
> A simplified reproducer attached (in particular, no APR anymore). Build
> with -pthread, obviously.

I think "abstime" should be updated in the the
pthread_mutex_timedlock() loop or it might get in the past after the
first ETIMEDOUT?
Maybe something the attached pokus3.c reproducer is more inline with
the original code.


Regards;
Yann.

View attachment "pokus3.c" of type "text/x-csrc" (1823 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ