From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751946AbZJ2IVd (ORCPT ); Thu, 29 Oct 2009 04:21:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750856AbZJ2IVc (ORCPT ); Thu, 29 Oct 2009 04:21:32 -0400 Received: from smtp-out.google.com ([216.239.45.13]:1930 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750816AbZJ2IVa (ORCPT ); Thu, 29 Oct 2009 04:21:30 -0400 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=L4/SdxJ5+npWkPhTqmCSPxDoYqvkqTmmiFo5qE9MKZBPTqNVC426V3OoelojKYpoV q8xEO2sTeeogQCN/uKwqA== Date: Thu, 29 Oct 2009 01:21:25 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Mike Travis cc: Andi Kleen , Ingo Molnar , 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 Subject: Re: [patch] x86: reduce srat verbosity in the kernel log In-Reply-To: <4AE8C764.90705@sgi.com> 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> <4AE8792F.8070200@sgi.com> <4AE8B933.5020103@sgi.com> <4AE8C764.90705@sgi.com> 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 Wed, 28 Oct 2009, Mike Travis wrote: > > I'm not saying it would be illegal, merely that it would be harm > > readability. Based on how apic id's are formed from processor ids, though, > > I think we're really talking about an upper limit (128) that will never be > > reached. > > We actually have many, many more than that by adding on some extra bits > to the CPU's apicid. These select which blade in the system to target. > Maybe I've been vague in my rationale for why this limit will probably never be reached. The way apic ids are constructed, with physical and logical processor ids, it tends to lend itself to ranges where bitmap_scnlistprintf() can specify a large number of apic ids with relatively few ASCII characters because logical processors typically do not have differing pxms. For us to reach the 128 character upper bound, scnlistprintf() would need to have many, many distinct ranges; your example showed two ranges per pxm (many more machines would have only a single range). In other words, we're not predicting to have "1-2,4-6,8-9,11-13,15-17," etc, that we often have with nodemasks.