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

From: Andy Whitcroft <apw_at_shadowen.org>
Date: 2004-03-29 22:30:19
--On 28 March 2004 11:10 -0800 "Martin J. Bligh" <mbligh@aracnet.com> wrote:

> 1. Stop hugepages using the existing overcommit pool for small pages, 
> which breaks small page allocations by prematurely the pool.
> 2. Give hugepages their own over-commit pool, instead of prefaulting.

Indeed.  The previous patches I submitted only address #1.  Attached is
another patch which should address #2, it supplies hugetlb commit
accounting.  This is checked and applied when the segment is created.  It
also supplements the meminfo information to display this new commitment.
The patch only implments strict commitment, but as has been stated here
often, it is not clear that overcommit of unswappable memory makes any
sense in the absence of demand allocation.  When that is implemented then
this will likely need a policy.

Patch applies on top of my previous patch and has been tested on i386.

-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 Mon Mar 29 08:21:15 2004

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