Re: [PATCH v2 1/2] mm/compaction: do not count migratepages when unnecessary

2014-05-12 Thread Vlastimil Babka
On 05/09/2014 05:48 PM, Michal Nazarewicz wrote: > On Wed, May 07 2014, Vlastimil Babka wrote: >> During compaction, update_nr_listpages() has been used to count remaining >> non-migrated and free pages after a call to migrage_pages(). The freepages >> counting has become unneccessary, and it turns

Re: [PATCH v2 1/2] mm/compaction: do not count migratepages when unnecessary

2014-05-09 Thread Michal Nazarewicz
On Wed, May 07 2014, Vlastimil Babka wrote: > During compaction, update_nr_listpages() has been used to count remaining > non-migrated and free pages after a call to migrage_pages(). The freepages > counting has become unneccessary, and it turns out that migratepages counting > is also unnecessary

Re: [PATCH v2 1/2] mm/compaction: do not count migratepages when unnecessary

2014-05-07 Thread David Rientjes
On Wed, 7 May 2014, Vlastimil Babka wrote: > During compaction, update_nr_listpages() has been used to count remaining > non-migrated and free pages after a call to migrage_pages(). The freepages > counting has become unneccessary, and it turns out that migratepages counting > is also unnecessary

[PATCH v2 1/2] mm/compaction: do not count migratepages when unnecessary

2014-05-07 Thread Vlastimil Babka
During compaction, update_nr_listpages() has been used to count remaining non-migrated and free pages after a call to migrage_pages(). The freepages counting has become unneccessary, and it turns out that migratepages counting is also unnecessary in most cases. The only situation when it's needed