From owner-cvs-all Wed Jul 3 18:20:16 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D13A937B400; Wed, 3 Jul 2002 18:20:09 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E55643E09; Wed, 3 Jul 2002 18:20:09 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020704012009.BZM24728.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 4 Jul 2002 01:20:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA05427; Wed, 3 Jul 2002 18:09:55 -0700 (PDT) Date: Wed, 3 Jul 2002 18:09:54 -0700 (PDT) From: Julian Elischer To: Peter Wemm Cc: Alan Cox , Julian Elischer , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 pmap.c In-Reply-To: <20020704005141.5C4FE390F@overcee.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK so the problem was that I was calling pmap_lookup() with indexes 1 -> KSTACK_PAGES but that object only had pages registered for indexes 0->(KSTACK_PAGES - 1) this bug was only shown up now because Jeff's uma code was broken and it never called this function.. (actually it never called thread_fini() which is the only caller of this function). He fixed it yesterday when I figured this out and suddenly we have untested code being run.. :-/ Hopefully this explains a few things that we have been seeing.. 1/ a memeory leak of 8k, times about 600 per buildworld I thin this is why someone reported their machine getting slower and slower. 2/ odd crashes with the smell of burning pmap. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message