From owner-freebsd-current Mon Mar 19 17: 7:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 4FD5537B73B for ; Mon, 19 Mar 2001 17:07:11 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2K16tG72707; Mon, 19 Mar 2001 17:06:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 19 Mar 2001 17:06:33 -0800 (PST) From: John Baldwin To: Bruce Evans Subject: RE: Here's another one for you... Cc: current@FreeBSD.org, Dag-Erling Smorgrav Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Mar-01 Bruce Evans wrote: > On Mon, 19 Mar 2001, John Baldwin wrote: > >> Hmmm. An eip of 0 is bad. This could be just another instance of the bzero >> bug just in another place. You probably want to change the code that >> actually >> sets *bzero to i586_bzero (and same for any other ops that use floating >> point). >> The code in question for this lies in i386/isa/npx.c. It seems we use the >> fp >> regs for copyin/copyout and bcopy as well. I would just change line 458 of >> npx.c to say '#ifdef I586_CPU_XXX' for now as your temporary patch (then you >> don't need to patch pmap_zero_page() anymore.) > > There is no need to change anything. Just disable the fp optimizations > using the npx flags. That works, too, but until i586_* are fixed they need to default to off, not to on. :) I'm not suggesting committing this, just suggesting a local hack for testing anyways. > Bruce -- John Baldwin -- 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-current" in the body of the message