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: <20140508183116.GJ8981@arm.com>
Date:	Thu, 8 May 2014 19:31:16 +0100
From:	Will Deacon <will.deacon@....com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"torvalds@...ux-foundation.org" <torvalds@...ux-foundation.org>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"mingo@...nel.org" <mingo@...nel.org>,
	"paulmck@...ux.vnet.ibm.com" <paulmck@...ux.vnet.ibm.com>,
	Albin Tonnerre <Albin.Tonnerre@....com>,
	Catalin Marinas <Catalin.Marinas@....com>,
	Chen Gang <gang.chen@...anux.com>,
	Nicolas Pitre <nico@...aro.org>,
	Russell King <linux@....linux.org.uk>,
	Victor Kamensky <victor.kamensky@...aro.org>
Subject: Re: [PATCH 04/20] arch,arm: Fold atomic_ops

On Thu, May 08, 2014 at 02:58:44PM +0100, Peter Zijlstra wrote:
> Many of the atomic op implementations are the same except for one
> instruction; fold the lot into a few CPP macros and reduce LoC.
> 
> This also prepares for easy addition of new ops.
> 
> Requires the asm_op because of eor.
> 
> Cc: Albin Tonnerre <albin.tonnerre@....com>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Chen Gang <gang.chen@...anux.com>
> Cc: Linus Torvalds <torvalds@...ux-foundation.org>
> Cc: Nicolas Pitre <nico@...aro.org>
> Cc: Russell King <linux@....linux.org.uk>
> Cc: Victor Kamensky <victor.kamensky@...aro.org>
> Cc: Will Deacon <will.deacon@....com>
> Signed-off-by: Peter Zijlstra <peterz@...radead.org>
> ---
>  arch/arm/include/asm/atomic.h |  313 +++++++++++++++++-------------------------
>  1 file changed, 127 insertions(+), 186 deletions(-)

Acked-by: Will Deacon <will.deacon@....com>

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