Re: [PATCH] x86/hugetlb: Use 32/64 mmap bases according to syscall

2017-03-14 Thread Dmitry Safonov
On 03/14/2017 02:41 PM, Dmitry Safonov wrote: Commit: 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit mmap()") introduced two mmap() bases for 32-bit syscalls and for 64-bit syscalls. After that commit mm->mmap_base has address to base allocations for 64-bit syscalls, while mm->

[PATCH] x86/hugetlb: Use 32/64 mmap bases according to syscall

2017-03-14 Thread Dmitry Safonov
Commit: 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit mmap()") introduced two mmap() bases for 32-bit syscalls and for 64-bit syscalls. After that commit mm->mmap_base has address to base allocations for 64-bit syscalls, while mm->mmap_compat_base - for 32-bit syscalls. mmap() c