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] [day] [month] [year] [list]
Message-ID: <20150807105951.GG16853@twins.programming.kicks-ass.net>
Date:	Fri, 7 Aug 2015 12:59:51 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Vineet Gupta <Vineet.Gupta1@...opsys.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARCv2: spinlock/rwlock/atomics: reduce 1 instruction in
 exponential backoff

On Fri, Aug 07, 2015 at 01:52:19PM +0530, Vineet Gupta wrote:
> The increment of delay counter was 2 instructions:
> Arithmatic Shfit Left (ASL) + set to 1 on overflow
> 
> This can be done in 1 using ROtate Left (ROL)

Cute :-)
--
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