summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorSherry Yang <sherryy@android.com>2017-08-03 11:33:53 -0700
committerMengjiao Yang <sherryy@google.com>2017-08-31 17:29:38 -0700
commit7a6d4b157e1c046f4c4de9f2f1f1f7abfa6abb21 (patch)
tree006ff3e17aeb83d4d33d6272688ea48ad41b6123 /lib/mpi/mpi-inline.h
parent3de14ff34cd4a21a7890e3d41f3532ab97424ae3 (diff)
FROMLIST: android: binder: Move buffer out of area shared with user space
(from https://patchwork.kernel.org/patch/9928607/) Binder driver allocates buffer meta data in a region that is mapped in user space. These meta data contain pointers in the kernel. This patch allocates buffer meta data on the kernel heap that is not mapped in user space, and uses a pointer to refer to the data mapped. Also move alloc->buffers initialization from mmap to init since it's now used even when mmap failed or was not called. Bug: 36007193 Change-Id: Id5136048bdb7b796f59de066de7ea7df410498f5 Signed-off-by: Sherry Yang <sherryy@android.com>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions