|
@@ -22,7 +22,6 @@
|
|
#include <linux/rmap.h>
|
|
#include <linux/rmap.h>
|
|
#include <linux/swap.h>
|
|
#include <linux/swap.h>
|
|
#include <linux/swapops.h>
|
|
#include <linux/swapops.h>
|
|
-#include <linux/page-isolation.h>
|
|
|
|
#include <linux/jhash.h>
|
|
#include <linux/jhash.h>
|
|
|
|
|
|
#include <asm/page.h>
|
|
#include <asm/page.h>
|
|
@@ -872,7 +871,7 @@ static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid)
|
|
struct page *page;
|
|
struct page *page;
|
|
|
|
|
|
list_for_each_entry(page, &h->hugepage_freelists[nid], lru)
|
|
list_for_each_entry(page, &h->hugepage_freelists[nid], lru)
|
|
- if (!is_migrate_isolate_page(page))
|
|
|
|
|
|
+ if (!PageHWPoison(page))
|
|
break;
|
|
break;
|
|
/*
|
|
/*
|
|
* if 'non-isolated free hugepage' not found on the list,
|
|
* if 'non-isolated free hugepage' not found on the list,
|