Commit 8f0293bf authored by Vlastimil Babka's avatar Vlastimil Babka

Merge branch 'slab/for-6.4/trivial' into slab/for-next

Trivial slab and slub fixes for 6.4. A comment fix, a structure
constification, and a config SLUB_DEBUG help text fix.
parents 197b6b60 220a20ad
...@@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align ...@@ -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. * to be at least to the size.
* *
* The @flags argument may be one of the GFP flags defined at * 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>` * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
* *
* The recommended usage of the @flags is described at * The recommended usage of the @flags is described at
......
...@@ -60,9 +60,9 @@ config SLUB_DEBUG ...@@ -60,9 +60,9 @@ config SLUB_DEBUG
select STACKDEPOT if STACKTRACE_SUPPORT select STACKDEPOT if STACKTRACE_SUPPORT
help help
SLUB has extensive debug support features. Disabling these can SLUB has extensive debug support features. Disabling these can
result in significant savings in code size. This also disables result in significant savings in code size. While /sys/kernel/slab
SLUB sysfs support. /sys/slab will not exist and there will be will still exist (with SYSFS enabled), it will not provide e.g. cache
no support for cache validation etc. validation.
config SLUB_DEBUG_ON config SLUB_DEBUG_ON
bool "SLUB debugging on by default" bool "SLUB debugging on by default"
......
...@@ -6059,7 +6059,7 @@ static const struct sysfs_ops slab_sysfs_ops = { ...@@ -6059,7 +6059,7 @@ static const struct sysfs_ops slab_sysfs_ops = {
.store = slab_attr_store, .store = slab_attr_store,
}; };
static struct kobj_type slab_ktype = { static const struct kobj_type slab_ktype = {
.sysfs_ops = &slab_sysfs_ops, .sysfs_ops = &slab_sysfs_ops,
.release = kmem_cache_release, .release = kmem_cache_release,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment