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]
Date:	Tue, 3 Oct 2006 12:05:24 +0200
From:	Andi Kleen <ak@...e.de>
To:	Randy Dunlap <rdunlap@...otime.net>
Cc:	Linus Torvalds <torvalds@...l.org>, akpm <akpm@...l.org>,
	Jesper Juhl <jesper.juhl@...il.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH/RFC] Math-emu kills the kernel on Athlon64 X2

 
> void mxcsr_feature_mask_init(void)
> {
> 	unsigned long mask = 0;
> 	clts();
> 	if (cpu_has_fxsr) {
> 		memset(&current->thread.i387.fxsave, 0, sizeof(struct i387_fxsave_struct));
> 		asm volatile("fxsave %0" : : "m" (current->thread.i387.fxsave)); 
> 		mask = current->thread.i387.fxsave.mxcsr_mask;
> 		if (mask == 0) mask = 0x0000ffbf;
> 	}

This just needs an ifdef. I'll fix that thanks.

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