Re: repeated panics in vm_reserv_alloc_page()

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Wed, 14 May 2008 08:16:07 +0300
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_at_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
> _at__at_ -1063,7 +1063,7 _at__at_ 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
Received on Wed May 14 2008 - 03:29:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC