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

2015-03-01 Thread Amit Pundir
On 27 February 2015 at 23:14, 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 was

[PATCH v2] 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 v2] android: binder: fix binder mmap failures

2015-02-27 Thread John Stultz
On Fri, Feb 27, 2015 at 9:44 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