Re: [PATCH 24/25] mm, compaction: Capture a page under direct compaction

2019-01-18 Thread Mel Gorman
On Fri, Jan 18, 2019 at 02:40:00PM +0100, Vlastimil Babka wrote: > > Signed-off-by: Mel Gorman > > Great, you crossed off this old TODO item, and didn't need pageblock isolation > to do that :D > The TODO is not just old, it's ancient! The idea of capture was first floated in 2008! A version

Re: [PATCH 24/25] mm, compaction: Capture a page under direct compaction

2019-01-18 Thread Vlastimil Babka
On 1/4/19 1:50 PM, Mel Gorman wrote: > Compaction is inherently race-prone as a suitable page freed during > compaction can be allocated by any parallel task. This patch uses a > capture_control structure to isolate a page immediately when it is freed > by a direct compactor in the slow path of

[PATCH 24/25] mm, compaction: Capture a page under direct compaction

2019-01-04 Thread Mel Gorman
Compaction is inherently race-prone as a suitable page freed during compaction can be allocated by any parallel task. This patch uses a capture_control structure to isolate a page immediately when it is freed by a direct compactor in the slow path of the page allocator. The intent is to avoid