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: <alpine.LFD.1.10.0805301923020.3141@woody.linux-foundation.org>
Date:	Fri, 30 May 2008 19:25:06 -0700 (PDT)
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Ulrich Drepper <drepper@...hat.com>
cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	mtk.manpages@...il.com
Subject: Re: [PATCH 3/3] 64-bit futexes: x86 support



On Fri, 30 May 2008, Ulrich Drepper wrote:
>
> +#ifdef CONFIG_X86_32
> +	/* Not all 32-bit machines support 8-byte cmpxchg.  We just
> +	   unconditionally perform a runtime check for the feature.  */
> +	if ((op & FUTEX_FLAG_64) && !boot_cpu_has(X86_FEATURE_CX8))
> +		return -ENOSYS;
> +#endif

Also, doesn't this mean that effectively you have given up on any CPU 
before the Pentium entirely? 

Not that I want to take the patches _anyway_, but it seems doubly stupid. 
Those things are going to be UP machines, so you could have just emulated 
it with no correctness issues by disabling preemption.

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