From owner-cvs-all@FreeBSD.ORG Wed Jan 10 23:22:54 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD96516A407; Wed, 10 Jan 2007 23:22:54 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9B713C458; Wed, 10 Jan 2007 23:22:54 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by postfix2-g20.free.fr (Postfix) with ESMTP id E0FA28D37F6; Wed, 10 Jan 2007 22:57:09 +0100 (CET) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp7-g19.free.fr (Postfix) with ESMTP id 8A4895582; Wed, 10 Jan 2007 23:57:01 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id A8E979D3DA; Wed, 10 Jan 2007 22:58:20 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 7FE9E405D; Wed, 10 Jan 2007 23:58:20 +0100 (CET) Date: Wed, 10 Jan 2007 23:58:20 +0100 From: Jeremie Le Hen To: Alexander Leidinger Message-ID: <20070110225820.GG2616@obiwan.tataz.chchile.org> References: <200612311239.kBVCdABj058437@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612311239.kBVCdABj058437@repoman.freebsd.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_mib.c linux_mib.h linux_misc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 23:22:55 -0000 Hi Alexander, On Sun, Dec 31, 2006 at 12:39:10PM +0000, Alexander Leidinger wrote: > netchild 2006-12-31 12:39:10 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linux linux_mib.c linux_mib.h linux_misc.c > Log: > MFp4 (111746+): > Redo the checking for 2.6 emulation. We now cache the value of > use26 and replace calls to linux_get_osrelease() + parsing with > a call to linux_use26(). Typical path is lockless now. > > Pointed out by: kib > > This allows to ship RELENG_7_0 with a default osrelease of 2.4.2 and the > possibility to enable 2.6.x emulation without the possible performance > impact of the previous version of the check. Sorry if this has been already discussed in the past, I've certainly missed the thread. Is there any strong reason to not enable 2.6.x emulation by default in the future RELENG_7 ? Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >