Skip to content

Commit

Permalink
vmalloc: remove vmalloc_sync_all() from alloc_vm_area()
Browse files Browse the repository at this point in the history
There's no need for it: it will get faulted into the current pagetable
as needed.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed May 20, 2011
1 parent 4a35c13 commit ef69194
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2148,10 +2148,6 @@ struct vm_struct *alloc_vm_area(size_t size)
return NULL;
}

/* Make sure the pagetables are constructed in process kernel
mappings */
vmalloc_sync_all();

return area;
}
EXPORT_SYMBOL_GPL(alloc_vm_area);
Expand Down

0 comments on commit ef69194

Please sign in to comment.