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;
}
-- http://function.linuxpower.ca- 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:21 EST