Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
12686d15
Commit
12686d15
authored
Dec 16, 2009
by
Andi Kleen
Committed by
Andi Kleen
Dec 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HWPOISON: Try to allocate migration page on the same node
Signed-off-by:
Andi Kleen
<
ak@linux.intel.com
>
parent
0d57eb8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mm/memory-failure.c
mm/memory-failure.c
+2
-1
No files found.
mm/memory-failure.c
View file @
12686d15
...
@@ -1113,7 +1113,8 @@ EXPORT_SYMBOL(unpoison_memory);
...
@@ -1113,7 +1113,8 @@ EXPORT_SYMBOL(unpoison_memory);
static
struct
page
*
new_page
(
struct
page
*
p
,
unsigned
long
private
,
int
**
x
)
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
);
}
}
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment