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]
Date:	Thu, 6 Feb 2014 09:56:54 -0800
From:	Linus Torvalds <>
To:	Peter Zijlstra <>
Cc:	"" <>,
	Linux Kernel Mailing List <>,
	Andrew Morton <>,
	Ingo Molnar <>,
	Will Deacon <>,
	Paul McKenney <>
Subject: Re: [RFC][PATCH 5/5] arch: Sanitize atomic_t bitwise ops

On Thu, Feb 6, 2014 at 9:52 AM, Peter Zijlstra <> wrote:
> s390 is stuffed with atomic_{set,clear}_mask usage, no clue whatfor.

It's not the set/clear_mask ones I would worry about.

It's the "_return" variants. As far as I can tell, there are exactly
ZERO users of that stuff, and they are BAD BAD BAD.

On x86, those things would cause a cmpxchg loop, and the bad
read-for-shared-before-acquire cacheline pattern.

So why indirectly encourage people to add users for a bad operation?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists