[PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread Andrey Ryabinin
binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add flag preventing guard hole allocation) this was because map_vm_area() didn't use any other fields in vm_struct except addr and

Re: [PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread Andrey Ryabinin
On 02/27/2015 08:26 PM, John Stultz wrote: On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin a.ryabi...@samsung.com wrote: binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add

Re: [PATCH] android: binder: fix binder mmap failures

2015-02-27 Thread John Stultz
On Fri, Feb 27, 2015 at 8:30 AM, Andrey Ryabinin a.ryabi...@samsung.com wrote: binder_update_page_range() initializes only addr and size fields in 'struct vm_struct tmp_area;' and passes it to map_vm_area(). Before 71394fe50146 (mm: vmalloc: add flag preventing guard hole allocation) this