linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] mm: why vfree() do not free page table memory?
@ 2017-12-29  8:58 Xishi Qiu
  2018-01-11  1:27 ` Xishi Qiu
  2018-01-17  9:16 ` Vlastimil Babka
  0 siblings, 2 replies; 6+ messages in thread
From: Xishi Qiu @ 2017-12-29  8:58 UTC (permalink / raw)
  To: Michal Hocko, Vlastimil Babka, Mel Gorman
  Cc: LKML, Linux MM, Xishi Qiu, Wujiangtao (A)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-17 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-29  8:58 [RFC] mm: why vfree() do not free page table memory? Xishi Qiu
2018-01-11  1:27 ` Xishi Qiu
2018-01-17  9:16 ` Vlastimil Babka
2018-01-17  9:48   ` Xishi Qiu
2018-01-17 13:14     ` Vlastimil Babka
2018-01-17 14:17     ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox