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, 18 May 2010 09:40:47 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Peter Zijlstra <peterz@...radead.org>
CC:	Andi Kleen <andi@...stfloor.org>,
	Arjan van de Ven <arjan@...radead.org>,
	Dan Magenheimer <dan.magenheimer@...cle.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Venkatesh Pallipadi <venki@...gle.com>,
	Ingo Molnar <mingo@...e.hu>, chris.mason@...cle.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: Export tsc related information in sysfs

On 05/18/2010 04:58 AM, Peter Zijlstra wrote:
> On Tue, 2010-05-18 at 13:25 +0200, Andi Kleen wrote:
>> On Tue, May 18, 2010 at 11:58:18AM +0200, Peter Zijlstra wrote:
>>> On Sun, 2010-05-16 at 22:06 -0700, Arjan van de Ven wrote:
>>>> look we're not disabling ring 3 tsc. We could, but we don't.
>>>
>>> Maybe we should.
>>
>> That would kill the vsyscall too. Remember it's running in ring 3.
>>
>> That is in theory you could disable it on systems where the vsyscall
>> doesn't use it, but then you would likely break huge amounts of software, 
>> unless you emulate it.
> 
> Well, software shouldn't use it, so breaking it sounds like a fine
> idea ;-)
> 
> Also, a slow emulation is an incentive to actually do the right thing.

The problem is that you throw the baby (vsyscall) out with the bathwater
(user rdtsc).

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

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