Thread (30 messages) 30 messages, 5 authors, 2015-08-14

[RFC] arm64: defconfig: enable 48-bit VA by default

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2015-08-14 13:24:29

On Fri, Aug 14, 2015 at 02:15:23PM +0200, Ard Biesheuvel wrote:
quoted
quoted
On 7 aug. 2015, at 21:01, Stuart Yoder [off-list ref] wrote:
quoted
quoted
Whether defconfig supports your platform optimally has nothing to do
with that. Of course, we should deal with the unexpected memory layout
gracefully, which is why Mark Rutland and myself proposed patches to
fix the panic you reported. But in a development context, I think it
is perfectly acceptable to simply load the kernel at 0x80_8000_0000,
and be able to run defconfig fine while losing just 2 GB of your 16 GB
at the low end.
[...]
So we still need to decide how to fix the case where the linear region
is not of sufficient size to cover all of memory, considering that is
what got this discussion started in the first place.
We already have a solution, just enable 4-levels of page tables (only
that I don't think we should change defconfig as well).

If we want to do any tricks like compacting the memory range, it needs
to be backed by benchmarks to prove that it's worth compared to a full
48-bit VA.

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help