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>
Mon, 22 Oct 2012 20:23:19 +0000 (13:23 -0700)
commit585650dcec88e704a19bb226a34b6a7166111623
treed3ba31a220be932a89d5c9278149450e3dc494b6
parent675d66b0ed5fd170d6a44cf8dbb3fa56a5347bdb
Staging: android: binder: Allow using highmem for binder buffers

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c