Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754694AbZKBLLg (ORCPT ); Mon, 2 Nov 2009 06:11:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754626AbZKBLLf (ORCPT ); Mon, 2 Nov 2009 06:11:35 -0500 Received: from mga10.intel.com ([192.55.52.92]:14900 "EHLO fmsmga102.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754623AbZKBLLe (ORCPT ); Mon, 2 Nov 2009 06:11:34 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,665,1249282800"; d="scan'208";a="509859413" Message-ID: <4AEEBE65.3070202@linux.intel.com> Date: Mon, 02 Nov 2009 12:11:33 +0100 From: Andi Kleen User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Mike Travis CC: Ingo Molnar , Thomas Gleixner , Andrew Morton , Heiko Carstens , Roland Dreier , Randy Dunlap , Tejun Heo , Greg Kroah-Hartman , Yinghai Lu , "H. Peter Anvin" , David Rientjes , Steven Rostedt , Rusty Russell , Hidetoshi Seto , Jack Steiner , Frederic Weisbecker , x86@kernel.org, Linux Kernel Subject: Re: [PATCH] x86_64: Limit the number of processor bootup messages References: <20091023233743.439628000@alcatraz.americas.sgi.com> <20091023233746.128967000@alcatraz.americas.sgi.com> <87tyxmy6x6.fsf@basil.nowhere.org> <4AE5E48F.6020408@sgi.com> <20091026215544.GA3355@basil.fritz.box> <4AEB3D95.50300@sgi.com> In-Reply-To: <4AEB3D95.50300@sgi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2004 Lines: 55 Mike Travis wrote: > > This set of patches limits the number of repetitious messages which contain > no additional information. Much of this information is obtainable from the > /proc and /sysfs. Most of the messages are also sent to the kernel log > buffer as KERN_DEBUG messages so it can be used to examine more closely any > details specific to a processor. What would be good is to put the information from the booting CPUs into some buffer and print it visibly if there's a timeout detected on the BP. Also power of two summaries at a bit odd, but ok. > For Processor Information printout: > > [ 90.968381] Summary Processor Information for CPUS: 0-639 > [ 90.972033] Genuine Intel(R) CPU 0000 @ 2.13GHz stepping 04 It would be good to print family/model in this line > [ 90.981402] CPU: L1 I cache: 32K, L1 D cache: 32K > [ 90.985888] CPU: L2 cache: 256K > [ 90.988032] CPU: L3 cache: 24576K I would recommend to drop the cache information; this can be easily gotten at runtime and is often implied in the CPU name anyways (and especially L1 and increasingly L2 too change only very rarely) > [ 90.992032] MIN 4266.68 BogoMIPS (lpj=8533371) > [ 91.000033] MAX 4267.89 BogoMIPS (lpj=8535789) Perhaps an average too? You could put all that on one line. > These lines have been moved to loglevel KERN_DEBUG: > > CPU: Physical Processor ID: > CPU: Processor Core ID: > CPU %d/0x%x -> Node %d > I think you can just remove them. > CPUx is down This should be still printed if there's a timeout, or rather print a "CPUx is not down" message. Right now there's no timeout detection on shutdown, but I guess that wouldn't be too hard to add. -Andi -- 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/