Re: [PATCH] page->flags corruption fix

From: Andrea Arcangeli
Date: Sun Oct 12 2003 - 08:35:37 EST


On Sun, Oct 12, 2003 at 03:21:32PM +0200, Andrea Arcangeli wrote:
> +++ race/mm/swap.c 2003-10-12 15:02:54.000000000 +0200
> @@ -54,6 +54,19 @@ void activate_page(struct page * page)
> /**
> * lru_cache_add: add a page to the page lists
^ while porting the fix to UL I noticed this comment needs __ in
front of it, I'm not spamming the list with another full patch since it
makes no functional difference, this is an incremental:

--- race/mm/swap.c.~1~ 2003-10-12 15:02:54.000000000 +0200
+++ race/mm/swap.c 2003-10-12 15:31:58.000000000 +0200
@@ -52,7 +52,7 @@ void activate_page(struct page * page)
}

/**
- * lru_cache_add: add a page to the page lists
+ * __lru_cache_add: add a page to the page lists
* @page: the page to add
*
* This function is for when the caller already holds

I uploaded the full update here anyways:

http://www.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.23pre7/anon-lru-race-better-fix-3

Andrea
-
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/