From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758220AbZKJVI3 (ORCPT ); Tue, 10 Nov 2009 16:08:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758186AbZKJVI1 (ORCPT ); Tue, 10 Nov 2009 16:08:27 -0500 Received: from smtp-out.google.com ([216.239.33.17]:25610 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758212AbZKJVI0 (ORCPT ); Tue, 10 Nov 2009 16:08:26 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type:x-system-of-record; b=J+d98vhYbZkIizqE8Q8BIbSOTgv6lyRGqryCe0mRUMkWGrmaNM4a88TFyxJzghtcq KlnxQllgUH174ONXsx7tQ== Date: Tue, 10 Nov 2009 13:08:23 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Ingo Molnar cc: Mike Travis , Thomas Gleixner , Andrew Morton , Jack Steiner , "H. Peter Anvin" , x86@kernel.org, Yinghai Lu , Mel Gorman , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Andi Kleen Subject: Re: [patch v2] x86: reduce srat verbosity in the kernel log In-Reply-To: Message-ID: References: <20091023233743.439628000@alcatraz.americas.sgi.com> <20091023233750.702443000@alcatraz.americas.sgi.com> <87pr8ay6tc.fsf@basil.nowhere.org> <4AE710C9.2070307@sgi.com> <4AE75162.7080903@sgi.com> <20091028033219.GE7744@basil.fritz.box> <20091028041159.GI7744@basil.fritz.box> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Oct 2009, David Rientjes wrote: > x86: reduce srat verbosity in the kernel log > > It's possible to reduce the number of SRAT messages emitted to the kernel > log by printing each valid pxm once and then creating bitmaps to represent > the apic ids that map to the same node. > > This reduces lines such as > > SRAT: PXM 0 -> APIC 0 -> Node 0 > SRAT: PXM 0 -> APIC 1 -> Node 0 > SRAT: PXM 1 -> APIC 2 -> Node 1 > SRAT: PXM 1 -> APIC 3 -> Node 1 > > to > > SRAT: PXM 0 -> APIC {0-1} -> Node 0 > SRAT: PXM 1 -> APIC {2-3} -> Node 1 > > The buffer used to store the apic id list is 128 characters in length. > If that is too small to represent all the apic id ranges that are bound > to a single pxm, a trailing "..." is added. APICID_LIST_LEN should be > manually increased for such configurations. > > Acked-by: Mike Travis > Signed-off-by: David Rientjes Ingo, have you had a chance to look at merging this yet?