Re: compaction: why depends on HUGETLB_PAGE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mel Gorman wrote:
My question is: why does it depend on CONFIG_HUGETLB_PAGE?

Because as the Kconfig says "Allows the compaction of memory for the
allocation of huge pages.". Depending on compaction to satisfy other
high-order allocation types is not likely to be a winning strategy.

Please could you elaborate a little more why depending on
compaction to satisfy other high-order allocation is not good.

Is it wrong to use it on ARM by disabling CONFIG_HUGETLB_PAGE?


It depends on why you need compaction. If it's for some device that
requires high-order allocations (particularly if they are atomic), then
it's not likely to work very well in the long term.

Would you please elaborate on this as well.

Many thanks for the reply
Iram


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]