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

From: Xishi Qiu
Date: Wed Jan 10 2018 - 20:27:29 EST


On 2017/12/29 16:58, Xishi Qiu wrote:

> 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
>

ping

>
> .
>