Loading include/linux/slab.h +1 −1 Original line number Diff line number Diff line Loading @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align * to be at least to the size. * * The @flags argument may be one of the GFP flags defined at * include/linux/gfp.h and described at * include/linux/gfp_types.h and described at * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>` * * The recommended usage of the @flags is described at Loading mm/Kconfig.debug +3 −3 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ config SLUB_DEBUG select STACKDEPOT if STACKTRACE_SUPPORT help SLUB has extensive debug support features. Disabling these can result in significant savings in code size. This also disables SLUB sysfs support. /sys/slab will not exist and there will be no support for cache validation etc. result in significant savings in code size. While /sys/kernel/slab will still exist (with SYSFS enabled), it will not provide e.g. cache validation. config SLUB_DEBUG_ON bool "SLUB debugging on by default" Loading mm/slub.c +1 −1 Original line number Diff line number Diff line Loading @@ -6059,7 +6059,7 @@ static const struct sysfs_ops slab_sysfs_ops = { .store = slab_attr_store, }; static struct kobj_type slab_ktype = { static const struct kobj_type slab_ktype = { .sysfs_ops = &slab_sysfs_ops, .release = kmem_cache_release, }; Loading Loading
include/linux/slab.h +1 −1 Original line number Diff line number Diff line Loading @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align * to be at least to the size. * * The @flags argument may be one of the GFP flags defined at * include/linux/gfp.h and described at * include/linux/gfp_types.h and described at * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>` * * The recommended usage of the @flags is described at Loading
mm/Kconfig.debug +3 −3 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ config SLUB_DEBUG select STACKDEPOT if STACKTRACE_SUPPORT help SLUB has extensive debug support features. Disabling these can result in significant savings in code size. This also disables SLUB sysfs support. /sys/slab will not exist and there will be no support for cache validation etc. result in significant savings in code size. While /sys/kernel/slab will still exist (with SYSFS enabled), it will not provide e.g. cache validation. config SLUB_DEBUG_ON bool "SLUB debugging on by default" Loading
mm/slub.c +1 −1 Original line number Diff line number Diff line Loading @@ -6059,7 +6059,7 @@ static const struct sysfs_ops slab_sysfs_ops = { .store = slab_attr_store, }; static struct kobj_type slab_ktype = { static const struct kobj_type slab_ktype = { .sysfs_ops = &slab_sysfs_ops, .release = kmem_cache_release, }; Loading