android: binder: use GPF_HIGHUSER flag since binder is designed for userspace
Change-Id: I8b5b6cc759f99bc1241ea32dd526d62f3c77101c Signed-off-by: Paul Reioux <reioux@gmail.com>
This commit is contained in:
parent
0dcce19efd
commit
51f6a39bcc
|
@ -602,7 +602,7 @@ static int binder_update_page_range(struct binder_proc *proc, int allocate,
|
|||
page = &proc->pages[(page_addr - proc->buffer) / PAGE_SIZE];
|
||||
|
||||
BUG_ON(*page);
|
||||
*page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO);
|
||||
*page = alloc_page(GFP_HIGHUSER);
|
||||
if (*page == NULL) {
|
||||
pr_err("%d: binder_alloc_buf failed for page at %pK\n",
|
||||
proc->pid, page_addr);
|
||||
|
|
Loading…
Reference in New Issue