Re: [PATCH 30/30] x32: Add x32 VDSO support

From: H. Peter Anvin
Date: Tue Feb 21 2012 - 14:57:06 EST


On 02/21/2012 11:51 AM, Andrew Lutomirski wrote:
>>
>> No, that wouldn't help. The situation is actually quite similar to the
>> current situation where we have an unshared fourth level, but since the
>> fourth entries are 512G per entry, we would have to push unsharing of
>> the kernel address space at least one more level (1G), possibly two
>> (2M). Painful.
>>
>> The main advantage of a separate cr3 would be that we wouldn't need the
>> unshared top level for the kernel side.
>
> Also, as is, if the top level wants to be per-cpu *and* per-task,
> that's a big explosion of page tables that all need to stay in sync.
>

Fair enough.

-hpa

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