Re: [patch v3 5/6] mm, thp: avoid excessive compaction latency during fault

2014-05-07 Thread Mel Gorman
On Tue, May 06, 2014 at 07:22:50PM -0700, David Rientjes wrote: > Synchronous memory compaction can be very expensive: it can iterate an > enormous > amount of memory without aborting, constantly rescheduling, waiting on page > locks and lru_lock, etc, if a pageblock cannot be defragmented. > >

[patch v3 5/6] mm, thp: avoid excessive compaction latency during fault

2014-05-06 Thread David Rientjes
Synchronous memory compaction can be very expensive: it can iterate an enormous amount of memory without aborting, constantly rescheduling, waiting on page locks and lru_lock, etc, if a pageblock cannot be defragmented. Unfortunately, it's too expensive for transparent hugepage page faults and i