Re: [PATCH REBASE v4 14/14] riscv: Make mmap allocation top-down by default

2019-07-26 Thread Paul Walmsley
On Fri, 26 Jul 2019, Alexandre Ghiti wrote: > On 7/26/19 2:20 AM, Paul Walmsley wrote: > > > > On Wed, 24 Jul 2019, Alexandre Ghiti wrote: > > > > > In order to avoid wasting user address space by using bottom-up mmap > > > allocation scheme, prefer top-down scheme when possible. > > > > > >

Re: [PATCH REBASE v4 14/14] riscv: Make mmap allocation top-down by default

2019-07-26 Thread Alexandre Ghiti
On 7/26/19 2:20 AM, Paul Walmsley wrote: Hi Alexandre, I have a few questions about this patch. Sorry to be dense here ... On Wed, 24 Jul 2019, Alexandre Ghiti wrote: In order to avoid wasting user address space by using bottom-up mmap allocation scheme, prefer top-down scheme when

Re: [PATCH REBASE v4 14/14] riscv: Make mmap allocation top-down by default

2019-07-25 Thread Paul Walmsley
Hi Alexandre, I have a few questions about this patch. Sorry to be dense here ... On Wed, 24 Jul 2019, Alexandre Ghiti wrote: > In order to avoid wasting user address space by using bottom-up mmap > allocation scheme, prefer top-down scheme when possible. > > Before: > root@qemuriscv64:~# cat

[PATCH REBASE v4 14/14] riscv: Make mmap allocation top-down by default

2019-07-24 Thread Alexandre Ghiti
In order to avoid wasting user address space by using bottom-up mmap allocation scheme, prefer top-down scheme when possible. Before: root@qemuriscv64:~# cat /proc/self/maps 0001-00016000 r-xp fe:00 6389 /bin/cat.coreutils 00016000-00017000 r--p 5000 fe:00 6389