Re: [Lhms-devel] [PATCH 0/7] Fragmentation Avoidance V19

Rob Landley
2005-11-05T02:49:49Z

On Friday 04 November 2005 15:22, Linus Torvalds wrote:
> Now, if you want _most_ of memory to be available for hugepages, you
> really will always require a special boot option, and a friendly machine
> maintainer. Limiting things like inodes, process descriptors etc to a
> smallish percentage of memory would not be acceptable in general.

But it might make it a lot easier for User Mode Linux to give unused memory
back to the host system via madvise(DONT_NEED).

(Assuming there's some way to beat the page cache into submission and actually
free up space. If there was an option to tell the page cache to stay the
heck out of the hugepage zone, it would be just about perfect...)

Rob