[RFC] mm: why vfree() do not free page table memory?

From: Xishi Qiu
Date: Fri Dec 29 2017 - 03:58:48 EST


When calling vfree(), it calls unmap_vmap_area() to clear page table,
but do not free the memory of page table, why? just for performance?

If a driver use vmalloc() and vfree() frequently, we will lost much
page table memory, maybe oom later.

Thanks,
Xishi Qiu