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:	Fri, 11 Feb 2011 08:46:41 -0800
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Jiri Olsa <jolsa@...hat.com>
Cc:	tglx@...utronix.de, mingo@...hat.com, x86@...nel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86_64: disable identity mappings statically

Jiri Olsa <jolsa@...hat.com> writes:

> hi,
>
> while browsing the page table setup code, I noticed the x86_64 head
> code might not need the identity mappings at all.
> It seems it's ok to switch it off completely from the begining,
> unless I'm missing something.

Have you tested it?

I expect you will find that we need the identity mapping because
before we load this page table we are running with virt==phys
and we need the identity mapping retained  in the new page table
so we can get to the instruction after movq %rax, %cr0.

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