Re: [kernel] kiobuf question

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Nov 15 2001 - 12:14:45 EST


On Thu, Nov 15, 2001 at 09:32:09AM +0100, Gerd Knorr wrote:
> 83 if (PageLRU(page))
> 84 BUG(); <<================

this is a VM bug, not a bttv bug.

One simple fix is to replace __free_page(page) in unmap_kiobuf with
page_cache_release(page). that will cure it.

But a better fix that I probably prefer for robusteness is to change in
page_alloc.c __free_pages with page_cache_release, so that we always do
this:

                if (PageLRU(page))
                        lru_cache_del(page);

while freeing pages.

Andrea
-
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 : Thu Nov 15 2001 - 21:00:43 EST