Messages in this thread Patch in this message | | | Date | Wed, 30 May 2007 17:20:50 -0700 | From | clameter@sgi ... | Subject | [RFC 3/4] CONFIG_STABLE: Switch off SLUB banner |
| |
The one line that SLUB prints on bootup is useful for debugging but I do not think that we would like to have it on in stable kernels.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
--- mm/slub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Index: slub/mm/slub.c =================================================================== --- slub.orig/mm/slub.c 2007-05-30 16:40:04.000000000 -0700 +++ slub/mm/slub.c 2007-05-30 16:40:40.000000000 -0700 @@ -2518,12 +2518,13 @@ void __init kmem_cache_init(void) kmem_size = offsetof(struct kmem_cache, cpu_slab) + nr_cpu_ids * sizeof(struct page *); - +#ifndef CONFIG_STABLE printk(KERN_INFO "SLUB: Genslabs=%d, HWalign=%d, Order=%d-%d, MinObjects=%d," " Processors=%d, Nodes=%d\n", KMALLOC_SHIFT_HIGH, cache_line_size(), slub_min_order, slub_max_order, slub_min_objects, nr_cpu_ids, nr_node_ids); +#endif } /* -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |