Re: [RFC PATCH 04/12] riscv: Allow to dynamically define VA_BITS

2021-01-05 Thread Alex Ghiti
Le 1/5/21 à 7:06 AM, Anup Patel a écrit : On Tue, Jan 5, 2021 at 1:33 AM Alexandre Ghiti wrote: With 4-level page table folding at runtime, we don't know at compile time the size of the virtual address space so we must set VA_BITS dynamically so that sparsemem reserves the right amount of m

Re: [RFC PATCH 04/12] riscv: Allow to dynamically define VA_BITS

2021-01-05 Thread Anup Patel
On Tue, Jan 5, 2021 at 1:33 AM Alexandre Ghiti wrote: > > With 4-level page table folding at runtime, we don't know at compile time > the size of the virtual address space so we must set VA_BITS dynamically > so that sparsemem reserves the right amount of memory for struct pages. > > Signed-off-by