1menu "Android" 2 3if ANDROID 4 5config ASHMEM 6 bool "Enable the Anonymous Shared Memory Subsystem" 7 default n 8 depends on SHMEM 9 ---help--- 10 The ashmem subsystem is a new shared memory allocator, similar to 11 POSIX SHM but with different behavior and sporting a simpler 12 file-based API. 13 14 It is, in theory, a good memory allocator for low-memory devices, 15 because it can discard shared memory units when under memory pressure. 16 17config ANDROID_TIMED_OUTPUT 18 bool "Timed output class driver" 19 default y 20 21config ANDROID_TIMED_GPIO 22 tristate "Android timed gpio driver" 23 depends on GPIOLIB && ANDROID_TIMED_OUTPUT 24 default n 25 26config ANDROID_LOW_MEMORY_KILLER 27 bool "Android Low Memory Killer" 28 ---help--- 29 Registers processes to be killed when memory is low 30 31config SYNC 32 bool "Synchronization framework" 33 default n 34 select ANON_INODES 35 select DMA_SHARED_BUFFER 36 ---help--- 37 This option enables the framework for synchronization between multiple 38 drivers. Sync implementations can take advantage of hardware 39 synchronization built into devices like GPUs. 40 41config SW_SYNC 42 bool "Software synchronization objects" 43 default n 44 depends on SYNC 45 ---help--- 46 A sync object driver that uses a 32bit counter to coordinate 47 syncrhronization. Useful when there is no hardware primitive backing 48 the synchronization. 49 50config SW_SYNC_USER 51 bool "Userspace API for SW_SYNC" 52 default n 53 depends on SW_SYNC 54 ---help--- 55 Provides a user space API to the sw sync object. 56 *WARNING* improper use of this can result in deadlocking kernel 57 drivers from userspace. 58 59source "drivers/staging/android/ion/Kconfig" 60 61endif # if ANDROID 62 63endmenu 64