blob: 9b0bc0ce7cb0d3bfae250ee4fcc2a2b197bdbd30 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2018-2020 Oplus. All rights reserved.
config OPPO_MEMLEAK_DETECT
string
option env="OPPO_MEMLEAK_DETECT"
config KMALLOC_DEBUG
default n
bool "Enable Create kmalloc caches with debug flag"
depends on STACKTRACE
help
If kmalloc-* slab has memleak, will replace the kmalloc cache
with a new kmalloc debug cache. The new kmalloc cache will enable
SLAB_STORE_USER.
source "mm/malloc_track/Kconfig.in"