Re: [PATCH] binder: Remove incorrect comment about vm_insert_page() behavior

2019-10-18 Thread Christian Brauner
On Fri, Oct 18, 2019 at 05:39:46PM +0200, Jann Horn wrote: > vm_insert_page() does increment the page refcount, and just to be sure, > I've confirmed it by printing page_count(page[0].page_ptr) before and after > vm_insert_page(). It's 1 before, 2 afterwards, as expected. > > Signed-off-by: Jann H

[PATCH] binder: Remove incorrect comment about vm_insert_page() behavior

2019-10-18 Thread Jann Horn
vm_insert_page() does increment the page refcount, and just to be sure, I've confirmed it by printing page_count(page[0].page_ptr) before and after vm_insert_page(). It's 1 before, 2 afterwards, as expected. Signed-off-by: Jann Horn --- drivers/android/binder_alloc.c | 1 - 1 file changed, 1 del