diff options
author | Robert Love <rlove@google.com> | 2010-10-27 14:53:28 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2011-01-17 14:57:11 +0100 |
commit | 142d439b5804fc734ad892486a163be369ed6992 (patch) | |
tree | 775ac5d5446b3d91598023594d51e58700164e24 /init | |
parent | f7d8b1af613c0a4f52390fa0fcf78e0625f2c461 (diff) |
Android MM: Add anonymous shared memory subsystem
ASHMEM is more similar to shmem and mmap, by
not requiring the specified size to be page aligned,
instead rounding it internally as needed, and does not
need export to tmpfs.
Signed-off-by: Robert Love <rlove@google.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 5cff9a980c39..c8e8d2f74011 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -958,6 +958,15 @@ config SHMEM option replaces shmem and tmpfs with the much simpler ramfs code, which may be appropriate on small systems without swap. +config ASHMEM + bool "Enable the Anonymous Shared Memory Subsystem" + default n + depends on SHMEM || TINY_SHMEM + help + The ashmem subsystem is a new shared memory allocator, similar to + POSIX SHM but with different behavior and sporting a simpler + file-based API. + config AIO bool "Enable AIO support" if EMBEDDED default y |