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: <9d5b1868-51f5-4d88-8b0e-813e32b05a96@email.android.com>
Date:	Thu, 06 Oct 2011 20:13:38 -0700
From:	"hpanvin@...il.com" <hpa@...or.com>
To:	Andi Kleen <andi@...stfloor.org>
CC:	Josh Stone <jistone@...hat.com>, linux-kernel@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
	Jakub Jelinek <jakub@...hat.com>
Subject: Re: [PATCH] x86: Make variable_test_bit reference all of *addr

Memory clobbers are universal producers, not consumers.

Andi Kleen <andi@...stfloor.org> wrote:

>"hpanvin@...il.com" <hpa@...or.com> writes:
>
>
>> This is concerning... the kernel relies heavily on asm volatile being
>a universal memory consumer.  If that is suddenly broken, we are f***
>in many, many, MANY places in the kernel all of a sudden!
>
>I don't think that's true. We generally add "memory" clobbers for this
>purpose. asm volatile just means "don't move" 
>
>Just this one doesn't have it for unknown reasons (someone
>overoptimizing?)
>
>-Andi
>
>-- 
>ak@...ux.intel.com -- Speaking for myself only

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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