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] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DC141EC.5050406@tilera.com>
Date:	Wed, 4 May 2011 08:09:16 -0400
From:	Chris Metcalf <cmetcalf@...era.com>
To:	Sven Eckelmann <sven@...fation.org>
CC:	<linux-kernel@...r.kernel.org>,
	David Howells <dhowells@...hat.com>, <x86@...nel.org>,
	<linux-alpha@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>,
	<uclinux-dist-devel@...ckfin.uclinux.org>,
	<linux-cris-kernel@...s.com>, <linux-ia64@...r.kernel.org>,
	<linux-m32r@...linux-m32r.org>, <linux-m68k@...ts.linux-m68k.org>,
	<linux-mips@...ux-mips.org>, <linux-am33-list@...hat.com>,
	<linux-parisc@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
	<linux-s390@...r.kernel.org>, <linux-sh@...r.kernel.org>,
	<sparclinux@...r.kernel.org>, <linux-arch@...r.kernel.org>
Subject: Re: [PATCH] atomic: add *_dec_not_zero

On 5/3/2011 5:30 PM, Sven Eckelmann wrote:
> Introduce an *_dec_not_zero operation.  Make this a special case of
> *_add_unless because batman-adv uses atomic_dec_not_zero in different
> places like re-broadcast queue or aggregation queue management. There
> are other non-final patches which may also want to use this macro.
>
> Reported-by: David S. Miller <davem@...emloft.net>
> Signed-off-by: Sven Eckelmann <sven@...fation.org>
> [...]
>  arch/tile/include/asm/atomic.h     |    9 +++++++++
>  arch/tile/include/asm/atomic_32.h  |    1 +

Acked-by: Chris Metcalf <cmetcalf@...era.com>

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


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