Re: 2.5.25ide24 BUG() in page_alloc.c::prep_new_page()

Andrew Morton (akpm@zip.com.au)
Wed, 10 Jul 2002 09:41:05 -0700


Anton Altaparmakov wrote:
>
> Hi,
>
> Just got the below oops while running 2.5.25ide24 (using ext3). The BUG()
> triggered is the BUG_ON(PageDirty(page)); in
> mm/page_alloc.c::prep_new_page().
>
> Seems like a dirty page was leaked somehow...
>

But __free_pages_ok() clears the dirty bit.

It'd be interesting to add a BUG_ON(page_count(page) == 0) to
SetPageDirty(), please.
-
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/