mm-slab-remove-redundant-assignments-for-slab_state.patch removed from -mm tree
The patch titled
Subject: mm/slab.c: remove redundant assignments for slab_state
has been removed from the -mm tree. Its filename was
mm-slab-remove-redundant-assignments-for-slab_state.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Oscar Salvador <[email protected]>
Subject: mm/slab.c: remove redundant assignments for slab_state
slab_state is being set to "UP" in create_kmalloc_caches(), and later on we set it again in kmem_cache_init_late(), but slab_state does not change in the meantime.
Remove the redundant assignment from kmem_cache_init_late().
And unless I overlooked anything, the same goes for "slab_state = FULL". slab_state is set to "FULL" in kmem_cache_init_late(), but it is later being set again in cpucache_init(), which gets called from do_initcall_level(). So remove the assignment from cpucache_init() as well.
---
mm/slab.c | 4 ---- 1 file changed, 4 deletions(-)
mm/slab.c renamed from mm/slab.c~mm-slab-remove-redundant-assignments-for-slab_state +0 -1
@@ -1316,8 +1316,6 @@ void __init kmem_cache_init_late(void) {struct kmem_cache *cachep; - slab_state =UP ;