mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
9f54c42bbd
PD#SWPL-137861 Problem: adjust break gki config Solution: CONFIG_AMLOGIC_BREAK_GKI_20 only break gki2.0 CONFIG_AMLOGIC_BREAK_GKI break gki 1.0 and 2.0 Verify: local Change-Id: Ic86c771027980aa24c638d5f89c014240d65ec91 Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
# 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.
|
|
|