repeated panics in vm_reserv_alloc_page()
Giorgos Keramidas
keramida at freebsd.org
Wed May 14 05:29:27 UTC 2008
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
> @@ -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
More information about the freebsd-current
mailing list