Re: [PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-09-30 Thread Joonsoo Kim
On Fri, Sep 25, 2015 at 12:32:02PM +0200, Vlastimil Babka wrote: > On 08/24/2015 04:19 AM, Joonsoo Kim wrote: > > [...] > > > > > Because we just allow freepage scanner to scan non-movable pageblock > > in very limited situation, more scanning events happen. But, allowing > > in very limited

Re: [PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-09-30 Thread Joonsoo Kim
On Fri, Sep 25, 2015 at 12:32:02PM +0200, Vlastimil Babka wrote: > On 08/24/2015 04:19 AM, Joonsoo Kim wrote: > > [...] > > > > > Because we just allow freepage scanner to scan non-movable pageblock > > in very limited situation, more scanning events happen. But, allowing > > in very limited

Re: [PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-09-25 Thread Vlastimil Babka
On 08/24/2015 04:19 AM, Joonsoo Kim wrote: [...] > > Because we just allow freepage scanner to scan non-movable pageblock > in very limited situation, more scanning events happen. But, allowing > in very limited situation results in a very important benefit that > memory isn't fragmented more

Re: [PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-09-25 Thread Vlastimil Babka
On 08/24/2015 04:19 AM, Joonsoo Kim wrote: [...] > > Because we just allow freepage scanner to scan non-movable pageblock > in very limited situation, more scanning events happen. But, allowing > in very limited situation results in a very important benefit that > memory isn't fragmented more

[PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-08-23 Thread Joonsoo Kim
Currently, freescanner doesn't scan non-movable pageblock, because if freepages in non-movable pageblock are exhausted, another movable pageblock would be used for non-movable allocation and it could cause fragmentation. But, we should know that watermark check for compaction doesn't distinguish

[PATCH v2 5/9] mm/compaction: allow to scan nonmovable pageblock when depleted state

2015-08-23 Thread Joonsoo Kim
Currently, freescanner doesn't scan non-movable pageblock, because if freepages in non-movable pageblock are exhausted, another movable pageblock would be used for non-movable allocation and it could cause fragmentation. But, we should know that watermark check for compaction doesn't distinguish