From owner-freebsd-current Sun May 19 03:33:56 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA14852 for current-outgoing; Sun, 19 May 1996 03:33:56 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA14844 for ; Sun, 19 May 1996 03:33:52 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id DAA02039; Sun, 19 May 1996 03:33:36 -0700 (PDT) Date: Sun, 19 May 1996 03:33:36 -0700 (PDT) Message-Id: <199605191033.DAA02039@silvia.HIP.Berkeley.EDU> To: bde@zeta.org.au CC: ccd@stampede.cs.berkeley.edu, current@freebsd.org In-reply-to: <199605181848.EAA11220@godzilla.zeta.org.au> (message from Bruce Evans on Sun, 19 May 1996 04:48:05 +1000) Subject: Re: some more on fast bcopy From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Bruce. * >OK, I implemented it. Will this work? * * It seems to work here. Goodie. :) I've been running this kernel on four machines around here, and haven't noticed anything strange. All I've seen is netscape crashing with SIGFPE on some applets but that also happens with the "slow" kernel so I guess it's not my bcopy's fault.... * I missed that. It would probably be cleanest to save it via %edx in * both cases. Both cases? Where is the other place that I need to save it? (Sorry for being so dumb.) * I'm running with a fast bzero (8 fstl's in a loop) too. It is much simpler * than fastmove since it doesn't need to worry about context switches. bcopy * need not worry either (except for bugs). Ok, so I guess I can modify bcopy to use this and it would work too, right? Although I'm not sure how much that will help (I don't think there are really big data movements from kernel space to kernel space, are there?).... Another place that it may help (and may fool lmbench and the likes :) is libc, do I need to the complicated FP state save/restore in there too? Or can that be a simple fnsave/frstor? Satoshi "the dumb one" Asami