From owner-freebsd-smp Sun Dec 22 09:24:34 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA12559 for smp-outgoing; Sun, 22 Dec 1996 09:24:34 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id JAA12553; Sun, 22 Dec 1996 09:24:31 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.8.2/8.6.9) id MAA07051; Sun, 22 Dec 1996 12:24:35 -0500 (EST) From: "John S. Dyson" Message-Id: <199612221724.MAA07051@dyson.iquest.net> Subject: Re: P6 problem idea To: phk@freebsd.org Date: Sun, 22 Dec 1996 12:24:35 -0500 (EST) Cc: smp@freebsd.org In-Reply-To: <24900.851245819@critter.tfs.com> from "Poul-Henning Kamp" at Dec 22, 96 10:10:19 am X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > John Dyson has enabled the "Global" bit on some parts of the kernel. > This makes the marked pages immune to TLB flushes. Could this be the > reason for the P6 Problems ? > > I belive there is a bit in a control register that will enable/disable > this, it's probably in locore.s somewhere. > If you want to test that -- all you have to do is to disable the setting of PG_G in locore and in pmap. You can also optionally turn off the capability (but you still need to disable all of the PG_G bit setting) by not setting the CR4_PGE bit in cr4 also. This *could* be the problem, because you need to do the single page updates when the PG_G bit has been set (or there are more complex ways of doing it also.) The global update will just not work... (Of course, that is much of the purpose of the PG_G bit :-)). John