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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 07 Nov 2014 15:52:14 -0500 (EST)
From:	David Miller <davem@...hat.com>
To:	andreas@...sler.com
Cc:	sparclinux@...r.kernel.org, sam@...nborg.org,
	linux-kernel@...r.kernel.org, software@...sler.com
Subject: Re: [PATCH] sparc32: Implement xchg and atomic_xchg using
 ATOMIC_HASH locks

From: Andreas Larsson <andreas@...sler.com>
Date: Wed,  5 Nov 2014 15:52:08 +0100

> Atomicity between xchg and cmpxchg cannot be guaranteed when xchg is
> implemented with a swap and cmpxchg is implemented with locks.
> Without this, e.g. mcs_spin_lock and mcs_spin_unlock are broken.
> 
> Signed-off-by: Andreas Larsson <andreas@...sler.com>

Unfortunate, but obviously necessary.

Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists