memcg: fix wrong check of noswap with softlimit
[pandora-kernel.git] / mm / vmalloc.c
index b5ccf31..1d34d75 100644 (file)
@@ -2153,10 +2153,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);