From owner-freebsd-arch@FreeBSD.ORG Sun Jul 8 12:26:21 2007 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F34716A400; Sun, 8 Jul 2007 12:26:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5FCEA13C458; Sun, 8 Jul 2007 12:26:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E98B947271; Sun, 8 Jul 2007 08:26:20 -0400 (EDT) Date: Sun, 8 Jul 2007 13:26:20 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp In-Reply-To: <66353.1183896180@critter.freebsd.dk> Message-ID: <20070708132500.N9997@fledge.watson.org> References: <66353.1183896180@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Rui Paulo , Andre Oppermann , Perforce Change Reviews , "Constantine A. Murenin" , Shteryana Shopova , freebsd-arch@FreeBSD.org Subject: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 12:26:21 -0000 On Sun, 8 Jul 2007, Poul-Henning Kamp wrote: > In message <20070708113624.C13758@fledge.watson.org>, Robert Watson writes: > >> While Andre's proposed goal of eliminating static sysctl nodes for 8.0 is >> laudable, a casual glimpse run found 261 references to top-level CTL_ >> constants in src outside of the kernel, so there's quite a bit of work to >> be done, [...] > > Nothing that couldn't be emulated, either in libraries or a kernel-shim. Kris and I have been discussing moving to a model in which the compatXx distributions move to having custom-built libc/libpthread parts, so that if KSE support is removed entirely from the 8.x kernel, it will still be possible to run 5.x/6.x binaries, as we'd provide a 5.x/6.x libpthread that was actually a 7.x libthr. Something similar would be required here. Robert N M Watson Computer Laboratory University of Cambridge