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

From: Andy Whitcroft
Date: Thu Mar 25 2004 - 19:17:00 EST


--On 25 March 2004 15:51 -0800 Andrew Morton <akpm@xxxxxxxx> 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/