From owner-freebsd-current@FreeBSD.ORG Fri Aug 18 08:15:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3282B16A4DA for ; Fri, 18 Aug 2006 08:15:57 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 789B343D49 for ; Fri, 18 Aug 2006 08:15:53 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.7/8.13.7) with ESMTP id k7I8FlMT040788 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 18 Aug 2006 10:15:47 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k7I8FlAB040787; Fri, 18 Aug 2006 10:15:47 +0200 (CEST) Date: Fri, 18 Aug 2006 10:15:47 +0200 From: Divacky Roman To: Peter Jeremy Message-ID: <20060818081546.GA40569@stud.fit.vutbr.cz> References: <20060816132539.owwerbnw0okwc8wo@netchild.homeip.net> <20060817080533.GA845@turion.vk2pj.dyndns.org> <20060817122534.e57aqlbrwwogg8ko@netchild.homeip.net> <44E4454B.2080606@elischer.org> <20060817133721.h4cbucizcw8wc88k@netchild.homeip.net> <20060817140122.GA90642@stud.fit.vutbr.cz> <44E4881A.3050907@elischer.org> <20060817164352.GB96801@stud.fit.vutbr.cz> <2fd864e0608171556o6af3e1fdxa29c252f07c98444@mail.gmail.com> <20060818080607.GA732@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060818080607.GA732@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: Astrodog , current@freebsd.org Subject: Re: HEADS-UP: starting to commit linuxolator (SoC 2006) changes... 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: Fri, 18 Aug 2006 08:15:57 -0000 > IMHO, it is cleaner to explicitly delete it once it becomes non-functional. > Having dead code lying around just slows down compilation and misleads > people into thinking that it is functional. If someone wants to resurrect > it at a later date, they can always retrieve it from the Attic. what makes 2.6 and 2.4 incompatible is the way they treat "pid". in 2.4 times pid is something unique to a process, ie. you cannot have two processes with the same pid. in 2.6 this changed pid is number processes can share and now tid is used as "unique identifier of a process". netchild commited patch which lets this happen and it makes getpid/getppid/exit_group quite expensive (I have to retrieve osrelease for a given jail and compare the string).