blob: 166b3526a4474789234b494d725f4ad7b04cc765 [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2018-2020 Oplus. All rights reserved.
config OPPO_MEMLEAK_DETECT
string
default "$(OPPO_MEMLEAK_DETECT)"
config KMALLOC_DEBUG
default n
bool "Enable Create kmalloc caches with debug flag"
depends on STACKTRACE && SLUB_DEBUG
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"