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: <55C4D02A.5000902@synopsys.com>
Date:	Fri, 07 Aug 2015 21:05:06 +0530
From:	Vineet Gupta <vgupta@...opsys.com>
To:	Peter Zijlstra <peterz@...radead.org>
CC:	Oleg Nesterov <oleg@...hat.com>,
	Alexander Viro <viro@...iv.linux.org.uk>,
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] coredump: Replace opencoded set_mask_bits()

On Friday 07 August 2015 08:27 PM, Peter Zijlstra wrote:
> On Fri, Aug 07, 2015 at 08:14:03PM +0530, Vineet Gupta wrote:
> 
>> > See, I have such a cmpxchg loop in ARC code - originally from Peter :-)
>> > arch/arc/kernel/smp.c. @ipi_data_ptr is NOT atomic_t
>> > 
>> > 	do {
>> > 		new = old = ACCESS_ONCE(*ipi_data_ptr);
>> > 		new |= 1U << msg;
>> > 	} while (cmpxchg(ipi_data_ptr, old, new) != old);
>> > 
> Well, you'll have atomic_or() real soon now.


Doesn't help my cause - ipi_data_ptr is not atomic_t - hence my prev question in
this thread

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ