Re: OOPS 2.4.19-pre7-ac4 (Was: strange things in kernel 2.4.19-pre7-ac4 + preempt patch)

From: Steve Kieu (haiquy@yahoo.com)
Date: Mon May 13 2002 - 20:04:22 EST


 --- Zwane Mwaikambo <zwane@linux.realnet.co.sz>
wrote: > Could you try this patch, Bill came across it
in
> rmap testing.
>
> Regards,
> Zwane
>
> ---
> linux-2.4.19-pre-ac/drivers/char/drm/i810_dma.c.orig
> Mon May 13 18:27:40 2002
> +++ linux-2.4.19-pre-ac/drivers/char/drm/i810_dma.c
> Mon May 13 18:28:37 2002
> @@ -293,8 +293,8 @@
> {
> if (page) {
> struct page *p = virt_to_page(page);
> - put_page(p);
> UnlockPage(p);
> + put_page(p);
> free_page(page);
> }
> }
> ---
>
linux-2.4.19-pre-ac/drivers/char/drm-4.0/i810_dma.c.orig
> Mon May 13 18:37:37 2002
> +++
> linux-2.4.19-pre-ac/drivers/char/drm-4.0/i810_dma.c
> Mon May 13 18:38:03 2002
> @@ -291,9 +291,9 @@
> struct page * p = virt_to_page(page);
> if(page == 0UL)
> return;
> -
> +
> + UnlockPage(p);
> put_page(p);
> - UnlockPage(p);
> free_page(page);
> return;
> }
>
> --

It doesn't work, I attached the oop log here...

=====
Steve Kieu

http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Save your important files online for easy access!


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:22 EST