From owner-freebsd-standards@FreeBSD.ORG Tue Nov 7 15:16:35 2006 Return-Path: X-Original-To: standards@freebsd.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4323C16A4D1; Tue, 7 Nov 2006 15:16:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE12043DC9; Tue, 7 Nov 2006 15:15:33 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id kA7FFVGe058066; Tue, 7 Nov 2006 10:15:31 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-arch@freebsd.org Date: Tue, 7 Nov 2006 09:55:16 -0500 User-Agent: KMail/1.9.1 References: <20061107091128.063d0ae5.trhodes@FreeBSD.org> In-Reply-To: <20061107091128.063d0ae5.trhodes@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611070955.17274.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Tue, 07 Nov 2006 10:15:31 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2172/Tue Nov 7 09:04:48 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Tom Rhodes , standards@freebsd.org Subject: Re: cvs rm sys/posix4 && enable sem X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 15:16:35 -0000 On Tuesday 07 November 2006 09:11, Tom Rhodes wrote: > Hi, > > I spent some time this morning working over the P1003_1B_SEMAPHORES > option and figured I might as well play with the task of merging > posix4/ into regular sys. In light of of this, I also enabled and > tested on all architectures, the sem module disabled by Alfred > for some unknown (later learned via old email) reason. > > Does anyone object to the following: > > 1: Repocopy posix4/* files to sys/sys and sys/kern; > 2: patch CURRENT for the change; > 3: remove posix4/*; > 4: enable sem module; > 5: add P1003_1B_SEMAPHORES to GENERIC; > 6: (eventually and maybe) merge psched.h and sched.h (I renamed > posix4/sched.h to sys/psched.h in this patch). This one is > completely optional. > > The included patch is pretty vanilla and does *most* of this, > not counting the repo-copy and added P1003_1B_SEMAPHORES to > GENERIC. It also passes my universe build. This also has the > side effect of differentiating between the two sched.h files we > have in the tree. Thanks, I think the psched.h rename needs more thought. I think POSIX says that you include sched.h (not psched.h) for various APIs such as sched_yield(), sched_setscheduler(), etc. -- John Baldwin