Re: [PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-29 Thread Vlastimil Babka
On 03/16/2017 02:53 AM, Joonsoo Kim wrote: > On Tue, Mar 07, 2017 at 02:15:41PM +0100, Vlastimil Babka wrote: >> When stealing pages from pageblock of a different migratetype, we count how >> many free pages were stolen, and change the pageblock's migratetype if more >> than half of the pageblock

Re: [PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-29 Thread Vlastimil Babka
On 03/16/2017 02:53 AM, Joonsoo Kim wrote: > On Tue, Mar 07, 2017 at 02:15:41PM +0100, Vlastimil Babka wrote: >> When stealing pages from pageblock of a different migratetype, we count how >> many free pages were stolen, and change the pageblock's migratetype if more >> than half of the pageblock

Re: [PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-15 Thread Joonsoo Kim
On Tue, Mar 07, 2017 at 02:15:41PM +0100, Vlastimil Babka wrote: > When stealing pages from pageblock of a different migratetype, we count how > many free pages were stolen, and change the pageblock's migratetype if more > than half of the pageblock was free. This might be too conservative, as

Re: [PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-15 Thread Joonsoo Kim
On Tue, Mar 07, 2017 at 02:15:41PM +0100, Vlastimil Babka wrote: > When stealing pages from pageblock of a different migratetype, we count how > many free pages were stolen, and change the pageblock's migratetype if more > than half of the pageblock was free. This might be too conservative, as

[PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-07 Thread Vlastimil Babka
When stealing pages from pageblock of a different migratetype, we count how many free pages were stolen, and change the pageblock's migratetype if more than half of the pageblock was free. This might be too conservative, as there might be other pages that are not free, but were allocated with the

[PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-07 Thread Vlastimil Babka
When stealing pages from pageblock of a different migratetype, we count how many free pages were stolen, and change the pageblock's migratetype if more than half of the pageblock was free. This might be too conservative, as there might be other pages that are not free, but were allocated with the