Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753880Ab2FEQEb (ORCPT ); Tue, 5 Jun 2012 12:04:31 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:41189 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751474Ab2FEQEa (ORCPT ); Tue, 5 Jun 2012 12:04:30 -0400 Message-ID: <1338912268.5780.0.camel@joe2Laptop> Subject: Re: [PATCH] printk: Shrink printk_sched buffer size, eliminate it when !CONFIG_PRINTK From: Joe Perches To: Ingo Molnar Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , Kay Sievers , LKML Date: Tue, 05 Jun 2012 09:04:28 -0700 In-Reply-To: <1338315431.18974.10.camel@joe2Laptop> References: <1337086834.27020.162.camel@laptop> <1337096141.27694.82.camel@twins> <1337193010.27694.146.camel@twins> <1337468148.573.139.camel@twins> <20120523150359.GB26974@gmail.com> <1337787838.1734.15.camel@joe2Laptop> <20120523155003.GA8202@gmail.com> <1338315431.18974.10.camel@joe2Laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 710 Lines: 18 On Tue, 2012-05-29 at 11:17 -0700, Joe Perches wrote: > The size of the per-cpu printk_sched buf is much larger > than necessary. The maximum sched message emitted is > ~80 bytes. Shrink the allocation for this printk_sched > buffer from 512 bytes to 128. > > printk_sched creates an unnecessary per-cpu buffer when > CONFIG_PRINTK is not enabled. Remove it when appropriate > so embedded uses save a bit of space too. Ingo, what's happening with this patch? -- 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/