From owner-freebsd-current@FreeBSD.ORG Thu Feb 28 13:17:11 2008 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 DC6501065676; Thu, 28 Feb 2008 13:17:11 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 94E7D8FC16; Thu, 28 Feb 2008 13:17:11 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 698E82085; Thu, 28 Feb 2008 14:17:06 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.3/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 458302084; Thu, 28 Feb 2008 14:17:05 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Marko Zec References: <47C39948.3080907@elischer.org> <47C494B5.2040306@elischer.org> <47C49FAA.1020605@FreeBSD.org> <200802280343.57576.zec@icir.org> Date: Thu, 28 Feb 2008 14:17:04 +0100 In-Reply-To: <200802280343.57576.zec@icir.org> (Marko Zec's message of "Thu\, 28 Feb 2008 03\:43\:57 +0100") Message-ID: <86tzjt1ar3.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Marko Zec , Julian Elischer , FreeBSD Current Subject: Re: warning of pending commit attempt. 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: Thu, 28 Feb 2008 13:17:12 -0000 Marko Zec writes: > [about vimage] One thing you haven't mentioned is sysctl. I've always been of the opinion that if we virtualize one part of the system, we should also virtualize the sysctl tree. This does not mean that each vimage should have its own copy of the entire tree, but rather that it should be possible to mark some sysctl nodes as virtualized. For instance, it would be useful on amd64 to be able to create an i386 vimage, where hw.machine and hw.machine_arch would be "i386". For PROC nodes, of course, this is easily done (as you already do) with INIT_VPROCG(TD_TO_VPROGC(curthread)), but the basic node types (int, long, string etc.) are a little trickier, and don't seem to be handled in your patch. (I probably just lost every shred of credibility by revealing that I have actually read parts of the patch, but hey, them's the breaks...) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no