From owner-freebsd-current Sun Dec 21 15:57:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA07389 for current-outgoing; Sun, 21 Dec 1997 15:57:20 -0800 (PST) (envelope-from owner-freebsd-current) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA07350; Sun, 21 Dec 1997 15:57:01 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id KAA30446; Mon, 22 Dec 1997 10:51:13 +1100 Date: Mon, 22 Dec 1997 10:51:13 +1100 From: Bruce Evans Message-Id: <199712212351.KAA30446@godzilla.zeta.org.au> To: ache@nagual.pp.ru, dyson@FreeBSD.ORG Subject: Re: panics with csh under -current: looking for testers Cc: freebsd-current@FreeBSD.ORG, pb@fasterix.freenix.org Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> No, you need 1.37. :-(. > >I have this panic with 1.37 too. The upages for the new process are sometimes wrong. Reverting to always always flushing the TLB in cpu_switch() fixes this. I think the upages don't go away properly on exit() after vfork() without an intemediate exec(). Bruce diff -c2 swtch.s~ swtch.s *** swtch.s~ Mon Dec 15 22:19:45 1997 --- swtch.s Mon Dec 22 10:39:20 1997 *************** *** 612,617 **** /* switch address space */ movl %cr3,%ebx cmpl PCB_CR3(%edx),%ebx ! je 4f #if defined(SWTCH_OPTIM_STATS) decl _swtch_optim_stats --- 612,619 ---- /* switch address space */ movl %cr3,%ebx + #if 0 cmpl PCB_CR3(%edx),%ebx ! je 4f ! #endif #if defined(SWTCH_OPTIM_STATS) decl _swtch_optim_stats