Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 17:47:42 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        arch@freebsd.org
Subject:   Fw: Proposed new sysctl MIB nodes
Message-ID:  <20030224.174742.21056478.imp@bsdimp.com>

next in thread | raw e-mail | index | archive | help
----Next_Part(Mon_Feb_24_17:47:42_2003_356)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Jason makes a good suggestion.  Comments?

Warner
----Next_Part(Mon_Feb_24_17:47:42_2003_356)--
Content-Type: Message/Rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Delivery-Date: Mon, 24 Feb 2003 17:10:02 -0700
Received: from rover.village.org (warner@rover2.village.org [10.0.0.1])
	by harmony.village.org (8.12.6/8.12.3) with ESMTP id h1P09u3Y092353
	for <imp@harmony.village.org>; Mon, 24 Feb 2003 17:09:56 -0700 (MST)
	(envelope-from owner-bsd-api-discuss+imp=harmony.village.org@wasabisystems.com)
Received: from mononoke.wasabisystems.com (mononoke.wasabisystems.com [166.84.0.13])
	by rover.village.org (8.12.5/8.12.3) with ESMTP id h1P09seJ015436
	for <imp@harmony.village.org>; Mon, 24 Feb 2003 17:09:55 -0700 (MST)
	(envelope-from owner-bsd-api-discuss+imp=harmony.village.org@wasabisystems.com)
Received: by mononoke.wasabisystems.com (Postfix, from userid 96)
	id 301A35E44A; Mon, 24 Feb 2003 19:09:52 -0500 (EST)
X-Original-To: bsd-api-discuss@wasabisystems.com
Delivered-To: bsd-api-discuss@wasabisystems.com
Received: from snark.piermont.com (snark.piermont.com [166.84.151.72])
	by mononoke.wasabisystems.com (Postfix) with ESMTP id C9DC95E447
	for <bsd-api-discuss@wasabisystems.com>; Mon, 24 Feb 2003 19:09:51 -0500 (EST)
Received: by snark.piermont.com (Postfix, from userid 1000)
	id A869BD97C5; Mon, 24 Feb 2003 19:09:45 -0500 (EST)
X-Original-To: bsd-api-discuss@wasabisystems.com
Received: from yeah-baby.shagadelic.org (yeah-baby.shagadelic.org [208.176.2.162])
	by mononoke.wasabisystems.com (Postfix) with ESMTP id 2820D5E441
	for <bsd-api-discuss@wasabisystems.com>; Mon, 24 Feb 2003 18:59:30 -0500 (EST)
Received: by yeah-baby.shagadelic.org (Postfix, from userid 2158)
	id AE52A7DB0; Mon, 24 Feb 2003 15:59:26 -0800 (PST)
Date: Mon, 24 Feb 2003 15:59:26 -0800
From: Jason R Thorpe <thorpej@wasabisystems.com>
To: bsd-api-discuss@wasabisystems.com
Subject: Proposed new sysctl MIB nodes
Message-ID: <20030224235926.GA22177@yeah-baby.shagadelic.org>
Mail-Followup-To: Jason R Thorpe <thorpej@wasabisystems.com>,
	bsd-api-discuss@wasabisystems.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Organization: Wasabi Systems, Inc.
Sender: owner-bsd-api-discuss@wasabisystems.com
Precedence: bulk
X-Spam-Status: No, hits=-9.9 required=5.0
	tests=NOSPAM_INC,SIGNATURE_SHORT_SPARSE,SPAM_PHRASE_01_02,
	      TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 

The GCC folks have recently started using the HW_PHYSMEM and HW_USERMEM
sysctl MIB nodes to tune the behavior of the garbage collecting memory
allocator in GCC.  It was pointed out there that these totally fall over
with >=4G of RAM, since it's a 32-bit quantity that returns the number
of bytes.

I'd like to propose new HW_PHYSPAGES and HW_USERPAGES MIB nodes that
return the same information, but in a 32-bit page count, instead.  The
implementation is left as an exercise to the reader.  I just want to get
consensus on the names, so that I can tell the GCC people about it, and
have it work on all the BSD platforms (as their current sysctl code does).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo@wasabisystems.com


----Next_Part(Mon_Feb_24_17:47:42_2003_356)----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224.174742.21056478.imp>