Re: [0/2] vmalloc: Add /proc/vmallocinfo to display mappings

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: KOSAKI Motohiro <kosaki.motohiro@...>, <linux-mm@...>, <linux-kernel@...>
Date: Wednesday, March 19, 2008 - 7:33 pm

On Wed, 19 Mar 2008, Andrew Morton wrote:


It allows to see the users of vmalloc. That is important if vmalloc space 
is scarce (i386 for example).

And its going to be important for the compound page fallback to vmalloc.
Many of the current users can be switched to use compound pages with
fallback. This means that the number of users of vmalloc is reduced and 
page tables no longer necessary to access the memory.
/proc/vmallocinfo allows to review how that reduction occurs.

If memory becomes fragmented and larger order allocations are no longer 
possible then /proc/vmallocinfo allows to see which compound 
page allocations fell back to virtual compound pages. That is important 
for new users of virtual compound pages. Such as order 1 stack allocation 
etc that may fallback to virtual compound pages in the future.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[0/2] vmalloc: Add /proc/vmallocinfo to display mappings, Christoph Lameter, (Tue Mar 18, 6:27 pm)
Re: [0/2] vmalloc: Add /proc/vmallocinfo to display mappings, KOSAKI Motohiro, (Tue Mar 18, 10:23 pm)
Re: [0/2] vmalloc: Add /proc/vmallocinfo to display mappings, KOSAKI Motohiro, (Thu Mar 20, 3:43 am)
Re: [0/2] vmalloc: Add /proc/vmallocinfo to display mappings, Christoph Lameter, (Wed Mar 19, 7:33 pm)