Re: [PATCH][2.4.23-pre4] page_alloc uninitialised variable bug

From: Mikael Pettersson
Date: Sun Sep 14 2003 - 04:06:43 EST


On Sun, 14 Sep 2003 01:11:02 +0200, Andrea Arcangeli wrote:
>this is the right cleanup for mainline to avoid the harmless compile
>time warning. Please test it so Marcelo can apply it. Sorry also for the
>delay in the watermark fixes, I finally sorted out a subtle x86-64 bug
>yesterday, so I should be able to port the watermark stuff to mainline
>early next week.
>
>--- 2.4.23pre4/mm/page_alloc.c.~1~ 2003-09-13 00:08:04.000000000 +0200
>+++ 2.4.23pre4/mm/page_alloc.c 2003-09-14 01:05:24.000000000 +0200
>@@ -258,8 +258,6 @@ static struct page * balance_classzone(z
> struct page * page = NULL;
> int __freed;
>
>- if (!(gfp_mask & __GFP_WAIT))
>- goto out;
> if (in_interrupt())
> BUG();

Yep this works fine.

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