Kconfig 905 B

1234567891011121314151617181920212223242526272829303132
  1. menu "Android"
  2. if ANDROID
  3. config ASHMEM
  4. bool "Enable the Anonymous Shared Memory Subsystem"
  5. default n
  6. depends on SHMEM
  7. ---help---
  8. The ashmem subsystem is a new shared memory allocator, similar to
  9. POSIX SHM but with different behavior and sporting a simpler
  10. file-based API.
  11. It is, in theory, a good memory allocator for low-memory devices,
  12. because it can discard shared memory units when under memory pressure.
  13. config ANDROID_LOW_MEMORY_KILLER
  14. bool "Android Low Memory Killer"
  15. ---help---
  16. Registers processes to be killed when low memory conditions, this is useful
  17. as there is no particular swap space on android.
  18. The registered process will kill according to the priorities in android init
  19. scripts (/init.rc), and it defines priority values with minimum free memory size
  20. for each priority.
  21. source "drivers/staging/android/ion/Kconfig"
  22. endif # if ANDROID
  23. endmenu