From owner-freebsd-current@FreeBSD.ORG Thu Oct 2 21:42:33 2003 Return-Path: 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 8D75316A4B3 for ; Thu, 2 Oct 2003 21:42:33 -0700 (PDT) Received: from arbornet.org (m-net.arbornet.org [209.142.209.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB9843FEA for ; Thu, 2 Oct 2003 21:42:32 -0700 (PDT) (envelope-from junsu@m-net.arbornet.org) Received: from m-net.arbornet.org (localhost [127.0.0.1]) by arbornet.org (8.12.3p2/8.11.2) with ESMTP id h934hgc2037126 for ; Fri, 3 Oct 2003 00:43:42 -0400 (EDT) (envelope-from junsu@m-net.arbornet.org) Received: (from junsu@localhost) by m-net.arbornet.org (8.12.3p2/8.12.3/Submit) id h934hgQn037125 for current@freebsd.org; Fri, 3 Oct 2003 00:43:42 -0400 (EDT) Date: Fri, 3 Oct 2003 00:43:42 -0400 (EDT) From: Jun Su Message-Id: <200310030443.h934hgQn037125@m-net.arbornet.org> To: current@freebsd.org Subject: New PID Allocation Code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 03 Oct 2003 04:42:33 -0000 Hi all, I have ported the code from netbsd to freebsd . I filed a PR http://www.freebsd.org/cgi/query-pr.cgi?pr=57522 The code is tested on my laptop. I think it needs more test. You can check the following link for the detail information about the algorithm. http://kerneltrap.org/node/view/609 Thank David Laight for his good idea. Thanks. Jun Su