From owner-cvs-sys Mon Jun 9 02:28:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA13453 for cvs-sys-outgoing; Mon, 9 Jun 1997 02:28:16 -0700 (PDT) Received: from Sisyphos.MI.Uni-Koeln.DE (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA13387; Mon, 9 Jun 1997 02:28:00 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr2-41.slip.Uni-Koeln.DE) by Sisyphos.MI.Uni-Koeln.DE with SMTP id AA28952 (5.67b/IDA-1.5); Mon, 9 Jun 1997 11:27:50 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.5/8.6.9) id LAA24874; Mon, 9 Jun 1997 11:27:47 +0200 (CEST) X-Face: " Date: Mon, 9 Jun 1997 11:27:46 +0200 From: Stefan Esser To: Bruce Evans Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, Stefan Esser Subject: Re: cvs commit: src/sys/i386/include md_var.h pcb.h reg.h src/sys/i386/i386 genassym.c machdep.c swtch.s trap.c References: <199706070436.VAA21703@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199706070436.VAA21703@freefall.freebsd.org>; from Bruce Evans on Fri, Jun 06, 1997 at 09:36:11PM -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Jun 6, Bruce Evans wrote: > Preserve %fs and %gs across context switches. This has a relatively low > cost since it is only done in cpu_switch(), not for every exception. > The extra state is kept in the pcb, and handled much like the npx state, > with similar deficiencies (the state is not preserved across signal > handlers, and error handling loses state). I asked about plans to add saving of FS and GS for improved Wine support, some time ago, and I got the answer, it was a waste to do this just for that one program. Seems that either 1) there now is something more important that requires those registers to be preserved, or 2) the overhead is not *that* high, after all :) Just curious ... Regards, STefan