bd90d2002afb0199f5de0d3efb8e86f8562b300f
[deliverable/linux.git] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 if ANDROID
4
5 config 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
17 config ANDROID_TIMED_OUTPUT
18 bool "Timed output class driver"
19 default y
20
21 config ANDROID_TIMED_GPIO
22 tristate "Android timed gpio driver"
23 depends on GPIOLIB || COMPILE_TEST
24 depends on ANDROID_TIMED_OUTPUT
25 default n
26 ---help---
27 Unlike generic gpio is to allow programs to access and manipulate gpio
28 registers from user space, timed output/gpio is a system to allow changing
29 a gpio pin and restore it automatically after a specified timeout.
30
31 config ANDROID_LOW_MEMORY_KILLER
32 bool "Android Low Memory Killer"
33 ---help---
34 Registers processes to be killed when low memory conditions, this is useful
35 as there is no particular swap space on android.
36
37 The registered process will kills according to the priorities in android init
38 scripts (/init.rc), and it defines priority values with minimum free memory size
39 for each priority.
40
41 config SYNC
42 bool "Synchronization framework"
43 default n
44 select ANON_INODES
45 select DMA_SHARED_BUFFER
46 ---help---
47 This option enables the framework for synchronization between multiple
48 drivers. Sync implementations can take advantage of hardware
49 synchronization built into devices like GPUs.
50
51 config SW_SYNC
52 bool "Software synchronization objects"
53 default n
54 depends on SYNC
55 ---help---
56 A sync object driver that uses a 32bit counter to coordinate
57 synchronization. Useful when there is no hardware primitive backing
58 the synchronization.
59
60 source "drivers/staging/android/ion/Kconfig"
61
62 endif # if ANDROID
63
64 endmenu
This page took 0.036393 seconds and 4 git commands to generate.