Re: [RFC] Hugetlb demotion for x86

From: Andi Kleen
Date: Wed May 10 2006 - 17:38:19 EST


Adam Litke <agl@xxxxxxxxxx> writes:

> The following patch enables demotion of MAP_PRIVATE hugetlb memory to
> normal anonymous memory on the i386 architecture. Below is a short
> description of the problem from a previous posting.


I'm not sure it's a good idea really. I think people have the reasonable
expection that if you use hugetlb you really get huge pages.

If you really implement you should at least printk clearly. But it's
probably better to not implement it.

If there was generic transparent hugepages support in the VM the case
would be probably different. Then it would make sense. But not as part
of hugetlbfs.

-Andi
-
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/