Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263826
b: refs/heads/master
c: 461ae48
h: refs/heads/master
v: v3
  • Loading branch information
David Vrabel authored and Linus Torvalds committed Sep 15, 2011
1 parent 0747de5 commit d102708
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 185efc0f9a1f2d6ad6d4782c5d9e529f3290567f
refs/heads/master: 461ae488ecb125b140d7ea29ceeedbcce9327003
8 changes: 8 additions & 0 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,14 @@ struct vm_struct *alloc_vm_area(size_t size)
return NULL;
}

/*
* If the allocated address space is passed to a hypercall
* before being used then we cannot rely on a page fault to
* trigger an update of the page tables. So sync all the page
* tables here.
*/
vmalloc_sync_all();

return area;
}
EXPORT_SYMBOL_GPL(alloc_vm_area);
Expand Down

0 comments on commit d102708

Please sign in to comment.