slub: Fix a typo in config name
Subsystems (2)
PATCH 1/1 slub: Fix a typo in config name
There's no config named SLAB_DEBUG, and it should be a typo of SLUB_DEBUG.
---
not slub expert, don't know how this bug affects slub debugging.
--- mm/slub.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
mm/slub.c +1 -1
@@ -3203,7 +3203,7 @@ static void __init kmem_cache_bootstrap_fixup(struct kmem_cache *s)list_for_each_entry (p, &n->partial, lru) p->slab = s; -#ifdef CONFIG_SLAB_DEBUG +#ifdef CONFIG_SLUB_DEBUG list_for_each_entry (p, &n->full, lru) p->slab = s;#endif
Signature · 8 lines
1.7.3.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 7 lines · Li Zefan
There's no config named
SLAB_DEBUG, and it should be a typo ofSLUB_DEBUG.Signed-off-by Li Zefan <[email protected]>---
not slub expert, don't know how this bug affects slub debugging.
Affects the bootstrap code.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
David Rientjes
reviewerQuoted 5 lines · Christoph Lameter
Quoted 3 lines · Li Zefan
There's no config named
SLAB_DEBUG, and it should be a typo ofSLUB_DEBUG.
Quoted 7 lines
Quoted 4 lines
Signed-off-by Li Zefan <[email protected]>---
not slub expert, don't know how this bug affects slub debugging.
Affects the bootstrap code.
I don't see how, there should be no partial or full slabs for either kmem_cache or kmem_cache_node at this point in the boot sequence. I think kmem_cache_bootstrap_fixup() should only need to add the cache to the list of slab caches and set the refcount accordingly.
Quoted 12 lines · David Rientjes
Quoted 10 lines · Christoph Lameter
Quoted 7 lines · Li Zefan
There's no config named
SLAB_DEBUG, and it should be a typo ofSLUB_DEBUG.Signed-off-by Li Zefan <[email protected]>---
not slub expert, don't know how this bug affects slub debugging.
Quoted 7 lines
Quoted 2 lines
Affects the bootstrap code.
I don't see how, there should be no partial or full slabs for either
kmem_cacheorkmem_cache_nodeat this point in the boot sequence. I thinkkmem_cache_bootstrap_fixup()should only need to add the cache to the list of slab caches and set the refcount accordingly.
Hmmm... That depends on the number of objects in a slab page. If that is one then we may have an issue.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>