diff options
author | 2011-09-26 12:53:42 +0200 | |
---|---|---|
committer | 2011-09-26 12:54:28 +0200 | |
commit | ed3982cf3748b657ffb79d9d1c2e4a562661db2d (patch) | |
tree | 6e3654f460e23aa1b1512896aa3f03886a69be1b /mm/vmalloc.c | |
parent | watchdog: Drop FIFO policy in exit path (diff) | |
parent | Linux 3.1-rc7 (diff) | |
download | linux-rng-ed3982cf3748b657ffb79d9d1c2e4a562661db2d.tar.xz linux-rng-ed3982cf3748b657ffb79d9d1c2e4a562661db2d.zip |
Merge commit 'v3.1-rc7' into perf/core
Merge reason: Pick up the latest upstream fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 7ef0903058ee..5016f19e1661 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -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); |