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]
Date:	Sat, 13 Feb 2010 10:29:35 +0200
From:	Avi Kivity <avi@...hat.com>
To:	"H. Peter Anvin" <hpa@...or.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86-64, rwsem: Avoid store forwarding hazzard in __downgrade_write

On 02/13/2010 10:16 AM, H. Peter Anvin wrote:
> On 02/12/2010 11:13 PM, Avi Kivity wrote:
>    
>> +#ifndef CONFIG_X86_64
>> +		       "i" (-RWSEM_WAITING_BIAS)
>> +#else
>> +		       "r" (-RWSEM_WAITING_BIAS)
>>   #endif
>> +		     : "memory", "cc");
>>      
> Using an "er" constraint here should work on both architectures.
>
>    

Right.  v2 to follow.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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