Re: [PATCH] [0/6] HUGETLB memory commitment

From: Andy Whitcroft <apw_at_shadowen.org>
Date: 2004-03-26 10:59:21
--On 25 March 2004 15:51 -0800 Andrew Morton <akpm@osdl.org> wrote:

> I think it's simply:
>
> - Make normal overcommit logic skip hugepages completely
>
> - Teach the overcommit_memory=2 logic that hugepages are basically
>   "pinned", so subtract them from the arithmetic.
>
> And that's it.  The hugepages are semantically quite different from normal
> memory (prefaulted, preallocated, unswappable) and we've deliberately
> avoided pretending otherwise.

True currently.  Though the thread that prompted this was in response to 
the time taken for this prefault and for the wish to fault them.

I'll have a poke about at it and see how small I can make it.

-apw
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 25 19:08:37 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST