From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 22:13:34 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D338106564A; Sun, 25 Jul 2010 22:13:34 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.re1.yahoo.com (mrout1-b.corp.re1.yahoo.com [69.147.107.20]) by mx1.freebsd.org (Postfix) with ESMTP id DA8ED8FC0C; Sun, 25 Jul 2010 22:13:33 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o6PMDMdG090365; Sun, 25 Jul 2010 15:13:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:x-mailer:content-transfer-encoding; b=GhBhkA6OeCZKDzf3Usmv4vvxulRQPZmzCMpPa9q9RMvUWKRf/v8yifQbmWYXSNw7 From: Sean Bruno To: Kostik Belousov In-Reply-To: <20100725205730.GG22295@deviant.kiev.zoral.com.ua> References: <20100722213836.GH15227@martini.nu> <1279836216.2456.14.camel@localhost.localdomain> <20100723003611.GA66678@martini.nu> <7573B69C-3C37-449A-A27F-5B0B2ED84757@mac.com> <1280090933.14823.2.camel@localhost.localdomain> <20100725205730.GG22295@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset="UTF-8" Date: Sun, 25 Jul 2010 15:13:22 -0700 Message-ID: <1280096002.14823.24.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 25 Jul 2010 22:41:13 +0000 Cc: "sbruno@freebsd.org" , freebsd-current Subject: Re: [patch and review please] 64 CPU Support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 22:13:34 -0000 On Sun, 2010-07-25 at 13:57 -0700, Kostik Belousov wrote: > On Sun, Jul 25, 2010 at 01:48:53PM -0700, Sean Bruno wrote: > > Reposting from -stable. > > > > Kind of a large patch, but in order to make an omlette, you need to > > break a few servers. > > > > This is a diff against -CURRENT, not stable-8 as I didn't get a chance > > to test it. It is directly based off of changes that peter@ made to the > > Yahoo FreeBSD 7 tree. > > > > I have compile and boot tested this on my local machines, but I don't > > have 64 CPU machines to test upon. > > > > Sean > > > > Very low-priority comment (I looked at the patch at the time it was > posted to stable@). Nice thing about the patch is that it presumably > identifies all the places that depend on the wideness of the cpu > mask. Would it make sense to abstract the cpumask operations with > some macros to not repeat the search for the places when 64 will > be too narrow again ? What do you mean? Can you give me a quick example? Sean