From owner-freebsd-arch Fri Nov 5 16:10:22 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 8043714E9B for ; Fri, 5 Nov 1999 16:10:03 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id BAA26364 for ; Sat, 6 Nov 1999 01:09:57 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id BAA01954 for freebsd-arch@freebsd.org; Sat, 6 Nov 1999 01:09:56 +0100 (MET) Received: from rah.star-gate.com (216-200-29-190.snj0.flashcom.net [216.200.29.194]) by hub.freebsd.org (Postfix) with ESMTP id 1E42414EFB for ; Fri, 5 Nov 1999 16:09:28 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.3/8.8.8) with ESMTP id QAA59237; Fri, 5 Nov 1999 16:08:00 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199911060008.QAA59237@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert Cc: eischen@vigrid.com, julian@whistle.com, freebsd-arch@freebsd.org Subject: Re: Threads goals version III In-reply-to: Your message of "Fri, 05 Nov 1999 23:00:29 GMT." <199911052300.QAA07809@usr06.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 Nov 1999 16:08:00 -0800 From: Amancio Hasty Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > One could argue that the program should be using a hybrid scheduling > > > class in the kernel in order to achieve this effect, rather than > > > having to have the idea that you would want to schedule seperate > > > kernel schedulable entities within one program. > > > > How to you propose to handle priorieties for different > > "thread thingies" --- "thread thingies" being a yet to > > be defined thread implementation. > > > You mean how will a user space scheduler implement the user space > scheduling class that handles pthread_attr_setschedpolicy(3) calls? > > Or do you mean something deeper, such as "since I'm already thinking > in terms of kernel threads, how will you let me set kernel scheduling > policy for kernel threads, if there aren't any?". > Yes I am thinking in terms of kernel "thread thingies" and my question is what you stated last: "how will you let me set kernel scheduling policy for kernel threads since there aren't any" Example: while working on Kaffe to support kernel threads I had no interface to set the relative thread's priorities. Or maybe I missed something... So at this stage we need concrete models for scheduling assuming that we can get over the hump of defining "thread thingies" at the user land level and at the kernel level. -- Amancio Hasty hasty@rah.star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message