Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 18:34:41 -0800
From:      Arun Sharma <adsharma@unix-os.sc.intel.com>
To:        alc@freebsd.org
Cc:        freebsd-ia64@freebsd.org
Subject:   Re: Assertion failure in vm_page.c:289
Message-ID:  <20030103183441.A3425@unix-os.sc.intel.com>
In-Reply-To: <20030103180935.A3170@unix-os.sc.intel.com>; from adsharma on Fri, Jan 03, 2003 at 06:09:35PM -0800
References:  <20030103180935.A3170@unix-os.sc.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looking at i386 code, this seems to be the missing lock.

	-Arun

--- pmap.c-     Sat Jan  4 00:14:49 2003
+++ pmap.c      Sat Jan  4 02:30:57 2003
@@ -1694,7 +1694,9 @@
         */
        if (opa) {
                int error;
+               vm_page_lock_queues(); 
                error = pmap_remove_pte(pmap, pte, va, 0, 0);
+               vm_page_unlock_queues();
                if (error)
                        panic("pmap_enter: pte vanished, va: 0x%lx", va);
        }

On Fri, Jan 03, 2003 at 06:09:35PM -0800, Arun Sharma wrote:
> Alan,
> 
> It looks like you added this assertion on Dec 28th.
> 
> void
> vm_page_flag_clear(vm_page_t m, unsigned short bits)
> {
>  
>         mtx_assert(&vm_page_queue_mtx, MA_OWNED); <-----
>         m->flags &= ~bits;
> }
> 
> and I'm seeing the assertion failure right at startup (after execing
> /sbin/init) on a ia64 box. Is it possible that there was an accompanying
> change that was made to i386, but not ia64 ?
> 
> 	-Arun

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030103183441.A3425>