OSDN Git Service

ashmem: don't require a page aligned size
authorMarco Nelissen <marcone@android.com>
Tue, 23 Jun 2009 16:32:11 +0000 (09:32 -0700)
committerMarco Nelissen <marcone@android.com>
Tue, 23 Jun 2009 17:54:09 +0000 (10:54 -0700)
commit3de11fd60d9941c720762553a9789dde578b67c9
treea551f790b377b7302e721804fc73a821ac4e8a9d
parentd89050258f0133ae56d586dd6d7345d473c9a216
ashmem: don't require a page aligned size

This makes ashmem more similar to shmem and mmap, by
not requiring the specified size to be page aligned,
instead rounding it internally as needed.

Signed-off-by: Marco Nelissen <marcone@android.com>
mm/ashmem.c