[lkml]   [2011]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mm: Do not stall in synchronous compaction for THP allocations
On Thu, 10 Nov 2011, Andrew Morton wrote:

> > This patch once again prevents sync migration for transparent
> > hugepage allocations as it is preferable to fail a THP allocation
> > than stall.
> Who said? ;) Presumably some people would prefer to get lots of
> huge pages for their 1000-hour compute job, and waiting a bit to get
> those pages is acceptable.

Indeed. It seems like the behavior would better be controlled with
/sys/kernel/mm/transparent_hugepage/defrag which is set aside specifically
to control defragmentation for transparent hugepages and for that
synchronous compaction should certainly apply.

 \ /
  Last update: 2011-11-11 00:39    [W:0.095 / U:19.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site