Messages in this thread Patch in this message | | | Date | Wed, 14 Jul 2004 23:05:59 +0900 (JST) | Subject | [BUG][PATCH] memory hotremoval for linux-2.6.7 [12/16] | From | Hirokazu Takahashi <> |
| |
--- linux-2.6.7/mm/hugetlb.c.save Wed Jul 7 18:34:06 2032 +++ linux-2.6.7/mm/hugetlb.c Wed Jul 7 18:35:10 2032 @@ -149,8 +149,8 @@ static int try_to_free_low(unsigned long { int i; for (i = 0; i < MAX_NUMNODES; ++i) { - struct page *page; - list_for_each_entry(page, &hugepage_freelists[i], lru) { + struct page *page, *page1; + list_for_each_entry_safe(page, page1, &hugepage_freelists[i], lru) { if (PageHighMem(page)) continue; list_del(&page->lru); - 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/
| |