Date: Mon, 19 Feb 2001 13:50:07 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Matthew Jacob <mjacob@feral.com> Cc: alpha@FreeBSD.org, jake@FreeBSD.org Subject: Re: old fishwraps.. Message-ID: <XFMail.010219135007.jhb@FreeBSD.org> In-Reply-To: <Pine.LNX.4.21.0102191307140.19274-100000@zeppo.feral.com>
index | next in thread | previous in thread | raw e-mail
On 19-Feb-01 Matthew Jacob wrote: > > BTW- one argument for still cheesing and doing this in C is that we're still > in such a flux about changing things that it'll be easier to keep things > running until stuff settles down more- at which point in time some more > efficient assembly code can be genned. Well, how much more efficient will the asm in cpu_switch() be? And when you factor in the cost of having to do this on N archs... but that can be mitigated by just doing this in C for now and doing it in asm if it helps after thigns have settled down. BSD/OS actually has cpu_switch() in C and uses assembly routines savectx() and restorectx() for the low-level stuff like register save/restore. > -matt -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010219135007.jhb>
