File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1248,14 +1248,6 @@ int unregister_vmap_purge_notifier(struct notifier_block *nb)
1248
1248
}
1249
1249
EXPORT_SYMBOL_GPL (unregister_vmap_purge_notifier );
1250
1250
1251
- /*
1252
- * Clear the pagetable entries of a given vmap_area
1253
- */
1254
- static void unmap_vmap_area (struct vmap_area * va )
1255
- {
1256
- unmap_kernel_range_noflush (va -> va_start , va -> va_end - va -> va_start );
1257
- }
1258
-
1259
1251
/*
1260
1252
* lazy_max_pages is the maximum amount of virtual address space we gather up
1261
1253
* before attempting to purge with a TLB flush.
@@ -1417,7 +1409,7 @@ static void free_vmap_area_noflush(struct vmap_area *va)
1417
1409
static void free_unmap_vmap_area (struct vmap_area * va )
1418
1410
{
1419
1411
flush_cache_vunmap (va -> va_start , va -> va_end );
1420
- unmap_vmap_area (va );
1412
+ unmap_kernel_range_noflush (va -> va_start , va -> va_end - va -> va_start );
1421
1413
if (debug_pagealloc_enabled_static ())
1422
1414
flush_tlb_kernel_range (va -> va_start , va -> va_end );
1423
1415
You can’t perform that action at this time.
0 commit comments