Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 08:16:07 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        "Alan Cox" <alan.l.cox@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: repeated panics in vm_reserv_alloc_page()
Message-ID:  <87zlqta2js.fsf@kobe.laptop>
In-Reply-To: <ca3526250805132200t5c69090ew311fbaf6ed33d190@mail.gmail.com> (Alan Cox's message of "Wed, 14 May 2008 00:00:44 -0500")
References:  <87ve1iqbn7.fsf@kobe.laptop> <ca3526250805132200t5c69090ew311fbaf6ed33d190@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alan,

Thanks for the patch :)

I'll rebuild right now, but it may be tricky reproducing the panic.
Is it ok if I let it run for a couple of days or a bit more?

I can't reliably reproduce the panic all the time, but it seems to
happen faster when I stress the system a bit.

On Wed, 14 May 2008 00:00:44 -0500, "Alan Cox" <alan.l.cox@gmail.com> wrote:
> Please let me know if the attached patch eliminates your panics.
>
> Regards,
> Alan
>
> Index: vm/vm_page.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/vm/vm_page.c,v
> retrieving revision 1.369
> diff -p -u -r1.369 vm_page.c
> --- vm/vm_page.c	6 Apr 2008 18:09:28 -0000	1.369
> +++ vm/vm_page.c	14 May 2008 04:40:59 -0000
> @@ -1063,7 +1063,7 @@ vm_page_alloc(vm_object_t object, vm_pin
>  			mtx_unlock(&vm_page_queue_free_mtx);
>  			return (NULL);
>  #if VM_NRESERVLEVEL > 0
> -		} else if (object == NULL ||
> +		} else if (object == NULL || object->type == OBJT_DEVICE ||
>  		    (object->flags & OBJ_COLORED) == 0 ||
>  		    (m = vm_reserv_alloc_page(object, pindex)) == NULL) {
>  #else



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