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:	Mon, 16 Jul 2007 18:04:54 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	Rusty Russell <rusty@...tcorp.com.au>
CC:	Jeremy Fitzhardinge <jeremy@...source.com>,
	Linus Torvalds <torvalds@...ux-foundation.com>,
	Zachary Amsden <zach@...are.com>,
	Xen-devel <xen-devel@...ts.xensource.com>,
	Andi Kleen <ak@...e.de>, lkml <linux-kernel@...r.kernel.org>,
	Chris Wright <chrisw@...s-sol.org>,
	Ian Pratt <ian.pratt@...source.com>,
	Andrew Morton <akpm@...ux-foundation.com>,
	Ulrich Drepper <drepper@...hat.com>,
	Roland McGrath <roland@...hat.com>,
	Christian Limpach <Christian.Limpach@...cam.ac.uk>
Subject: Re: [Xen-devel] [patch 17/44] Add nosegneg capability to the	vsyscall
 page notes

Rusty Russell wrote:
> On Mon, 2007-07-16 at 16:15 -0700, Jeremy Fitzhardinge wrote:
>   
>> plain text document attachment (xen-vsyscall-note.patch)
>> Add the "nosegneg" fake capabilty to the vsyscall page notes. This is
>> used by the runtime linker to select a glibc version which then
>> disables negative-offset accesses to the thread-local segment via
>> %gs. These accesses require emulation in Xen (because segments are
>> truncated to protect the hypervisor address space) and avoiding them
>> provides a measurable performance boost.
>>     
>
> Hmm, this is still unconditional?  Not that it causes any measurable
> slowdown when enabled, but ISTR discussing making this dynamic...

Played with it for a bit, but it's fairly fiddly.  Didn't seem like it
was worth the complexity.

    J

-
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