From owner-cvs-src@FreeBSD.ORG Thu Jul 13 13:52:45 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 025BE16A4DD; Thu, 13 Jul 2006 13:52:45 +0000 (UTC) (envelope-from john@baldwin.cx) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D81B43D46; Thu, 13 Jul 2006 13:52:44 +0000 (GMT) (envelope-from john@baldwin.cx) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k6DDqgK7097512; Thu, 13 Jul 2006 09:52:42 -0400 (EDT) (envelope-from john@baldwin.cx) From: John Baldwin To: David Xu Date: Thu, 13 Jul 2006 09:30:48 -0400 User-Agent: KMail/1.9.1 References: <200607130626.k6D6QhQ3066209@repoman.freebsd.org> In-Reply-To: <200607130626.k6D6QhQ3066209@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607130930.49565.john@baldwin.cx> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 13 Jul 2006 09:52:43 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1598/Thu Jul 13 07:38:16 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys thr.h src/sys/kern kern_thr.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 13:52:45 -0000 On Thursday 13 July 2006 02:26, David Xu wrote: > davidxu 2006-07-13 06:26:43 UTC > > FreeBSD src repository > > Modified files: > sys/sys thr.h > sys/kern kern_thr.c syscalls.master > Log: > Add syscalls thr_setscheduler, thr_getscheduler, and thr_setschedparam, > these syscalls are designed to set thread's scheduling parameters and > policy, because each syscall contains a size parameter, it is possible > to support future scheduling option, e.g SCHED_SPORADIC, this option > needs other fields in structure sched_param, current they are not > avaiblable. Don't forget to update sys/compat/freebsd32/syscalls.master when adding new syscalls (as the comments in sys/kern/syscalls.master request). -- John Baldwin