Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180305
b: refs/heads/master
c: 6f5a55f
h: refs/heads/master
i:
  180303: bfade32
v: v3
  • Loading branch information
Linus Torvalds committed Feb 6, 2010
1 parent 0d1439c commit 0d6038b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d9c3a51e7b20dcd63b8cc534035af99a41d03e4
refs/heads/master: 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0
3 changes: 3 additions & 0 deletions trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,9 @@ static int do_pages_move(struct mm_struct *mm, struct task_struct *task,
goto out_pm;

err = -ENODEV;
if (node < 0 || node >= MAX_NUMNODES)
goto out_pm;

if (!node_state(node, N_HIGH_MEMORY))
goto out_pm;

Expand Down

0 comments on commit 0d6038b

Please sign in to comment.