Re: [RFC 3/4] mm, thp: try fault allocations only if we expect them to succeed

2015-06-23 Thread Vlastimil Babka
On 06/18/2015 03:20 AM, David Rientjes wrote: On Mon, 11 May 2015, Vlastimil Babka wrote: Since we track THP availability for khugepaged THP collapses, we can use it also for page fault THP allocations. If khugepaged with its sync compaction is not able to allocate a hugepage, then it's unlikel

Re: [RFC 3/4] mm, thp: try fault allocations only if we expect them to succeed

2015-06-17 Thread David Rientjes
On Mon, 11 May 2015, Vlastimil Babka wrote: > Since we track THP availability for khugepaged THP collapses, we can use it > also for page fault THP allocations. If khugepaged with its sync compaction > is not able to allocate a hugepage, then it's unlikely that the less involved > attempt on page

[RFC 3/4] mm, thp: try fault allocations only if we expect them to succeed

2015-05-11 Thread Vlastimil Babka
Since we track THP availability for khugepaged THP collapses, we can use it also for page fault THP allocations. If khugepaged with its sync compaction is not able to allocate a hugepage, then it's unlikely that the less involved attempt on page fault would succeed, and the cost could be higher tha