Re: [PATCH] x86_64: disable identity mappings statically

From: Cyrill Gorcunov
Date: Fri Feb 11 2011 - 12:35:34 EST


On 02/11/2011 08:07 PM, Jiri Olsa wrote:
> On Fri, Feb 11, 2011 at 08:46:41AM -0800, Eric W. Biederman wrote:
>> Jiri Olsa <jolsa@xxxxxxxxxx> 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?
>
> yes, I booted it with no problem
>

Hi Jiri, just wonder -- hibernation still works after that?
Also Xen might/might-not need it as well, and walk_pgd_level
seems to use it as well, no?

--
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/