linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: compaction: why depends on HUGETLB_PAGE
@ 2010-07-30 16:44 Round Robinjp
  2010-07-30 16:49 ` Mel Gorman
  0 siblings, 1 reply; 6+ messages in thread
From: Round Robinjp @ 2010-07-30 16:44 UTC (permalink / raw)
  To: mel; +Cc: linux-mm, iram.shahzad

> > Please could you elaborate a little more why depending on
> > compaction to satisfy other high-order allocation is not good.
> >
> 
> At the very least, it's not a situation that has been tested heavily and
> because other high-order allocations are typically not movable. In the
> worst case, if they are both frequent and long-lived they *may* eventually
> encounter fragmentation-related problems. This uncertainity is why it's
> not good. It gets worse if there is no swap as eventually all movable pages
> will be compacted as much as possible but there still might not be enough
> contiguous memory for a high-order page because other pages are pinned.

I am interested in this topic too.

How about using compaction for infrequent short-lived
high-order allocations? Is there any problem in that case?
(apart from the point that it is not tested for that purpose)

Also how about using compaction as a preparation
for partial refresh?

RR

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* compaction: why depends on HUGETLB_PAGE
@ 2010-07-29  1:53 Iram Shahzad
  2010-07-29 12:57 ` Mel Gorman
  0 siblings, 1 reply; 6+ messages in thread
From: Iram Shahzad @ 2010-07-29  1:53 UTC (permalink / raw)
  To: linux-mm; +Cc: mel

Hi

I have found that memory compaction (CONFIG_COMPACTION)
is mainlined while looking at 2.6.35-rc5 source code.
I have a question regarding its dependency on HUGETLB_PAGE.

While trying to use CONFIG_COMPACTION on ARM architecture,
I found that I cannot enable CONFIG_COMPACTION because
it depends on CONFIG_HUGETLB_PAGE which is not available
on ARM.

I disabled the dependency and was able to build it.
And it looks like working!

My question is: why does it depend on CONFIG_HUGETLB_PAGE?
Is it wrong to use it on ARM by disabling CONFIG_HUGETLB_PAGE?

Iram


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-30 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30 16:44 compaction: why depends on HUGETLB_PAGE Round Robinjp
2010-07-30 16:49 ` Mel Gorman
  -- strict thread matches above, loose matches on Subject: below --
2010-07-29  1:53 Iram Shahzad
2010-07-29 12:57 ` Mel Gorman
2010-07-30  2:56   ` Iram Shahzad
2010-07-30  9:57     ` Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).