Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258936
b: refs/heads/master
c: 4b6ddbf
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jul 26, 2011
1 parent d47e275 commit c64c016
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 45ebb840257b060ec54416aebffd9747e210962c
refs/heads/master: 4b6ddbf7ed4ef2f40e0a27418146eedaa68953c6
2 changes: 1 addition & 1 deletion trunk/mm/pagewalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int walk_page_range(unsigned long addr, unsigned long end,
* we can't handled it in the same manner as non-huge pages.
*/
vma = find_vma(walk->mm, addr);
if (vma && is_vm_hugetlb_page(vma)) {
if (vma && vma->vm_start <= addr && is_vm_hugetlb_page(vma)) {
if (vma->vm_end < next)
next = vma->vm_end;
/*
Expand Down

0 comments on commit c64c016

Please sign in to comment.