Просмотр исходного кода

staging: android: Add more help description on Kconfig

This patch adds more help description on android Kconfig for
- lowmemory killer
- Timed gpio (same for timed output)

Signed-off-by: Jagan Teki <jteki@openedev.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jagan Teki 10 лет назад
Родитель
Сommit
ad5b0d07b1
1 измененных файлов с 10 добавлено и 1 удалено
  1. 10 1
      drivers/staging/android/Kconfig

+ 10 - 1
drivers/staging/android/Kconfig

@@ -22,11 +22,20 @@ config ANDROID_TIMED_GPIO
 	tristate "Android timed gpio driver"
 	tristate "Android timed gpio driver"
 	depends on GPIOLIB && ANDROID_TIMED_OUTPUT
 	depends on GPIOLIB && ANDROID_TIMED_OUTPUT
 	default n
 	default n
+        ---help---
+	  Unlike generic gpio is to allow programs to access and manipulate gpio
+	  registers from user space, timed output/gpio is a system to allow changing
+	  a gpio pin and restore it automatically after a specified timeout.
 
 
 config ANDROID_LOW_MEMORY_KILLER
 config ANDROID_LOW_MEMORY_KILLER
 	bool "Android Low Memory Killer"
 	bool "Android Low Memory Killer"
 	---help---
 	---help---
-	  Registers processes to be killed when memory is low
+	  Registers processes to be killed when low memory conditions, this is useful
+	  as there is no particular swap space on android.
+
+	  The registered process will kills according to the priorities in android init
+	  scripts (/init.rc), and it defines priority values with minimum free memory size
+	  for each priority.
 
 
 config SYNC
 config SYNC
 	bool "Synchronization framework"
 	bool "Synchronization framework"