Re: [PATCH v2 5/5] riscv: Make mmap allocation top-down by default

2019-04-10 Thread Alexandre Ghiti
On 04/10/2019 08:59 AM, Christoph Hellwig wrote: Looks good, Reviewed-by: Christoph Hellwig Thanks Christoph, Alex

Re: [PATCH v2 5/5] riscv: Make mmap allocation top-down by default

2019-04-10 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v2 5/5] riscv: Make mmap allocation top-down by default

2019-04-03 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