From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 16:31:32 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A28A4106564A for ; Mon, 27 Sep 2010 16:31:32 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by mx1.freebsd.org (Postfix) with ESMTP id 86D6F8FC17 for ; Mon, 27 Sep 2010 16:31:32 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout3.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o8RGULXF060469; Mon, 27 Sep 2010 09:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yahoo-inc.com; s=cobra; t=1285605021; bh=nPO5zE3xNRVPd8+AtUPwz3q3YkUcA9DV4LJ4pzfCNGI=; h=Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type: Date:Message-ID:Mime-Version:Content-Transfer-Encoding; b=eeV41qr9AwbLsVS4V7OHuFLOQdxWYcCjdk6/bo93BwWFp4PRa9jM+P0Su1zacncw+ bFhuHMnC7Q5laxE/Zet7PaxWxkAJ0v93GMaz+Su0GQLJRRbWXHLDSRVvEy3e1z5TgT v2U0CapQ5444OpLuWjhUPvh+CGKeT0B9B9y+el3I= From: Sean Bruno To: Attilio Rao In-Reply-To: References: <1285601161.7245.7.camel@home-yahoo> Content-Type: text/plain; charset="UTF-8" Date: Mon, 27 Sep 2010 09:30:20 -0700 Message-ID: <1285605020.7245.18.camel@home-yahoo> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Cc: "sbruno@freebsd.org" , "current@freebsd.org" Subject: Re: MAXCPU preparations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 16:31:32 -0000 > > I would not include sys/param and would axe out the comment. > > Just make sure anything compiles with these modifies eventually. > > Thanks, > Attilio > > Ah, yes. The include is completely pointless. The value can be assigned without it. Sean === //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4 - /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h ==== @@ -33,7 +33,7 @@ * Number of CPU slots in library-internal data structures. This should be * at least the value of MAXCPU from param.h. */ -#define MEMSTAT_MAXCPU 64 +#define MEMSTAT_MAXCPU MAXCPU /* * Amount of caller data to maintain for each caller data slot. Applications