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: <20060913095942.GA10075@elte.hu>
Date:	Wed, 13 Sep 2006 11:59:42 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Jeremy Fitzhardinge <jeremy@...p.org>
Cc:	Arjan van de Ven <arjan@...radead.org>, akpm@...l.org, ak@...e.de,
	linux-kernel@...r.kernel.org, Michael.Fetterman@...cam.ac.uk,
	Ian Campbell <Ian.Campbell@...Source.com>
Subject: Re: i386 PDA patches use of %gs


* Jeremy Fitzhardinge <jeremy@...p.org> wrote:

> [...]  The basic inner loop is:
> 
> 	push %segreg
> 	mov  %selectorreg, %segreg
> 	add  $1,%segreg:offset	# use the segment register
> 	pop  %segreg

well, the most important thing i believe you didnt test: the effect of 
mixing two descriptors on the _same_ selector: one %gs selector value 
loaded and used by glibc, and another %gs selector value loaded and used 
by the kernel, intermixed. It's the mixing that causes the descriptor 
cache reload. (unless i missed some detail about your testcase)

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