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>] [day] [month] [year] [list]
Message-ID: <0000013ad148e92a-ea123f83-e6f6-4131-8e15-8cf05cfd1e0a-000000@email.amazonses.com>
Date:	Mon, 5 Nov 2012 15:55:47 +0000
From:	Christoph Lameter <cl@...ux.com>
To:	单卫 <shanwei88@...il.com>
cc:	paulmck@...ux.vnet.ibm.com, dipankar@...ibm.com,
	Kernel-Maillist <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 6/9] rcu: use __this_cpu_read helper instead of
 per_cpu_ptr(p, raw_smp_processor_id())

On Mon, 5 Nov 2012, 锟斤拷锟斤拷 wrote:

> I guarantee that x86-64 don't use gs register here. run test again锟斤拷
> Maybe there is some optimizations for __this_cpu_read call on x86-64锟斤拷 not
> sure.

There is no optimization that I know of unless the compiler eliminated the
__this_cpu_read completely. gs: is necessary to perform the implied
relocation in this_cpu_read().


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ