| # SPDX-License-Identifier: GPL-2.0 |
| |
| config AMLOGIC_ANDROID_LOGGER |
| tristate "Android log driver" |
| default n |
| help |
| This adds support for system-wide logging using four log buffers. |
| These are: |
| 1: main |
| 2: events |
| 3: radio |
| 4: system |
| |
| Log reading and writing is performed via normal Linux reads and |
| optimized writes. This optimization avoids logging having too |
| much overhead in the system. |
| |
| config ANDROID_LOW_MEMORY_KILLER |
| bool "Android Low Memory Killer" |
| help |
| 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 kill according to the priorities in android init |
| scripts (/init.rc), and it defines priority values with minimum free memory size |
| for each priority. |
| |
| config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES |
| bool "Android Low Memory Killer: detect oom_adj values" |
| depends on ANDROID_LOW_MEMORY_KILLER |
| default y |
| help |
| Detect oom_adj values written to |
| /sys/module/lowmemorykiller/parameters/adj and convert them |
| to oom_score_adj values. |
| |
| config AMLOGIC_LMK |
| bool "Amlogic Low Memory Killer vendor" |
| depends on AMLOGIC_BREAK_GKI |
| help |
| Add file free page statistics, which also triggers lmkd |
| when there are many files in free. |
| |