Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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_LOW_MEMORY_KILLER
18 bool "Android Low Memory Killer"
19 ---help---
20 Registers processes to be killed when low memory conditions, this is useful
21 as there is no particular swap space on android.
22
23 The registered process will kill according to the priorities in android init
24 scripts (/init.rc), and it defines priority values with minimum free memory size
25 for each priority.
26
27config SW_SYNC
28 bool "Software synchronization framework"
29 default n
30 depends on SYNC_FILE
31 depends on DEBUG_FS
32 ---help---
33 A sync object driver that uses a 32bit counter to coordinate
34 synchronization. Useful when there is no hardware primitive backing
35 the synchronization.
36
37 WARNING: improper use of this can result in deadlocking kernel
38 drivers from userspace. Intended for test and debug only.
39
40source "drivers/staging/android/ion/Kconfig"
41
42endif # if ANDROID
43
44endmenu