]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Staging: android: binder: Allow using highmem for binder buffers
authorArve Hjønnevåg <arve@android.com>
Tue, 16 Oct 2012 22:29:55 +0000 (15:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:02:58 +0000 (10:02 -0700)
commit7b76336ec39f1af832ebd29add93cfe21e839581
treea4e1a63e1256cbac908acc1a0644d455ac09b155
parentc70fc22aa9f442379b1f64e863b8adf8da2356e8
Staging: android: binder: Allow using highmem for binder buffers

commit 585650dcec88e704a19bb226a34b6a7166111623 upstream.

The default kernel mapping for the pages allocated for the binder
buffers is never used. Set the __GFP_HIGHMEM flag when allocating
these pages so we don't needlessly use low memory pages that may
be required elsewhere.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c