Re: [RFC][PATCH 4/4] vm-mapped-x-active-lists

From: Marc-Christian Petersen
Date: Tue Mar 09 2004 - 10:28:51 EST


On Tuesday 09 March 2004 06:35, Nick Piggin wrote:

Hi Nick,

seems the following patch is required ontop of your patches?

ciao, Marc
--- old/arch/i386/mm/hugetlbpage.c 2004-03-09 14:57:42.000000000 +0100
+++ new/arch/i386/mm/hugetlbpage.c 2004-03-09 15:36:15.000000000 +0100
@@ -411,8 +411,8 @@ static void update_and_free_page(struct
htlbzone_pages--;
for (j = 0; j < (HPAGE_SIZE / PAGE_SIZE); j++) {
map->flags &= ~(1 << PG_locked | 1 << PG_error | 1 << PG_referenced |
- 1 << PG_dirty | 1 << PG_active | 1 << PG_reserved |
- 1 << PG_private | 1<< PG_writeback);
+ 1 << PG_dirty | 1 << PG_active_mapped | 1 << PG_active_unapped |
+ 1 << PG_reserved | 1 << PG_private | 1<< PG_writeback);
set_page_count(map, 0);
map++;
}