Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177642
b: refs/heads/master
c: 12686d1
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Dec 16, 2009
1 parent dee6f98 commit 71994ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d57eb8dfcb92e3dd928d792f4ed2b2fec680bb7
refs/heads/master: 12686d153abff397fa0927c620d5a3de84910b72
3 changes: 2 additions & 1 deletion trunk/mm/memory-failure.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,8 @@ EXPORT_SYMBOL(unpoison_memory);

static struct page *new_page(struct page *p, unsigned long private, int **x)
{
return alloc_pages(GFP_HIGHUSER_MOVABLE, 0);
int nid = page_to_nid(p);
return alloc_pages_exact_node(nid, GFP_HIGHUSER_MOVABLE, 0);
}

/*
Expand Down

0 comments on commit 71994ad

Please sign in to comment.