[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0803191628480.4070@schroedinger.engr.sgi.com>
Date: Wed, 19 Mar 2008 16:33:50 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [0/2] vmalloc: Add /proc/vmallocinfo to display mappings
On Wed, 19 Mar 2008, Andrew Morton wrote:
> I was just about to ask whether we actually need the feature - I don't
> recall ever having needed it, nor do I recall seeing anyone else need it.
>
> Why is it useful?
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists