From owner-freebsd-smp Fri Jan 21 2:54:15 2000 Delivered-To: freebsd-smp@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id B281D14CD0 for ; Fri, 21 Jan 2000 02:54:05 -0800 (PST) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost.r.dl.itc.u-tokyo.ac.jp [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP id TAA89464; Fri, 21 Jan 2000 19:54:01 +0900 (JST) Date: Fri, 21 Jan 2000 19:54:00 +0900 Message-ID: <14472.15048.86946.72159A@rina.r.dl.itc.u-tokyo.ac.jp> From: Seigo Tanimura To: bright@wintelcom.net Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, smp@FreeBSD.ORG Subject: Re: Using spinning time efficiently? In-Reply-To: In your message of "Fri, 21 Jan 2000 02:01:19 -0800" <20000121020119.O14030@fw.wintelcom.net> References: <14472.10247.374655.13283E@rina.r.dl.itc.u-tokyo.ac.jp> <20000121020119.O14030@fw.wintelcom.net> Cc: Seigo Tanimura User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 21 Jan 2000 02:01:19 -0800, Alfred Perlstein said: >> I once thought something might be wrong, and then found >> (ALT)SYSCALL_LOCK spinning to wait for the lock to be released. Now I >> am wondering if we can contribute spinning time to anything else, say >> running another process, before the lock gets released. Is is possible >> to do so? Alfred> The scheduler needs to be made thread safe before that can happen, Alfred> it looks easy at first until you realize that it starts calling Alfred> other complex parts of the system. Alfred> This is on several people's TODO list. :) Then, what I actually need would be some kind of detailed books of OS. I have not learned OS quite systematically, so it would be a good opportunity for me to do so. Anyway, the first task of mine seems to understand the fundamental technology and issues. ...except that book shops are likely to close soon :( -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message