Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8749
b: refs/heads/master
c: 5b952b3
h: refs/heads/master
i:
  8747: a244c0f
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 13, 2005
1 parent 5d92b1d commit 7b89fc9
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 8d0986e289a4b018fec87fcc49538945fb401f37
refs/heads/master: 5b952b3c143660b6436fcb299b249cefde61c18d
7 changes: 6 additions & 1 deletion trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,13 @@ check_range(struct mm_struct *mm, unsigned long start, unsigned long end,
if (prev && prev->vm_end < vma->vm_start)
return ERR_PTR(-EFAULT);
if ((flags & MPOL_MF_STRICT) && !is_vm_hugetlb_page(vma)) {
unsigned long endvma = vma->vm_end;
if (endvma > end)
endvma = end;
if (vma->vm_start > start)
start = vma->vm_start;
err = check_pgd_range(vma->vm_mm,
vma->vm_start, vma->vm_end, nodes);
start, endvma, nodes);
if (err) {
first = ERR_PTR(err);
break;
Expand Down

0 comments on commit 7b89fc9

Please sign in to comment.