Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 13:13:21 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Luoqi Chen <luoqi@watermarkgroup.com>
Cc:        current@FreeBSD.ORG, khetan@os.org.za
Subject:   Re:  CMAP2 busy ?
Message-ID:  <Pine.BSF.4.10.9910291302260.5879-100000@alphplex.bde.org>
In-Reply-To: <199910282058.QAA28372@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Oct 1999, Luoqi Chen wrote:

> > ...
> > panic: pmap_zero_page: CMAP2 busy
> > 
> It looked like an interrupt hit when the cpu was in an idle loop replenishing
> zero filled pages, and the interrupt handler somehow also tried to zero some
> pages itself.  In vm_page_zero_idle(), pmap_zero_page should be called
> at splvm() to prevent this from happening, or allocate another pte exclusively
> for the idle loop. The latter seems to be preferable.

It is an error to use CMAP2 in an interrupt handler.  CMAP2 is reserved
for use in process and trap context.  E.g., it is used in pmap_copy_page()
which is often called from vm_fault() without any spl protection.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910291302260.5879-100000>