Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-08 Thread Minchan Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: > When __rmqueue_fallback() is called to allocate a page of order X, it will > find a page of order Y >= X of a fallback migratetype, which is different from > the desired migratetype. With the help of try_to_steal_freepages(), it

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-08 Thread Mel Gorman
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: > When __rmqueue_fallback() is called to allocate a page of order X, it will > find a page of order Y >= X of a fallback migratetype, which is different from > the desired migratetype. With the help of try_to_steal_freepages(), it

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-08 Thread Mel Gorman
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: When __rmqueue_fallback() is called to allocate a page of order X, it will find a page of order Y = X of a fallback migratetype, which is different from the desired migratetype. With the help of try_to_steal_freepages(), it may

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-08 Thread Minchan Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: When __rmqueue_fallback() is called to allocate a page of order X, it will find a page of order Y = X of a fallback migratetype, which is different from the desired migratetype. With the help of try_to_steal_freepages(), it may

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-07 Thread Joonsoo Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: > When __rmqueue_fallback() is called to allocate a page of order X, it will > find a page of order Y >= X of a fallback migratetype, which is different from > the desired migratetype. With the help of try_to_steal_freepages(), it

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-07 Thread Joonsoo Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: When __rmqueue_fallback() is called to allocate a page of order X, it will find a page of order Y = X of a fallback migratetype, which is different from the desired migratetype. With the help of try_to_steal_freepages(), it may

[RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-04 Thread Vlastimil Babka
When __rmqueue_fallback() is called to allocate a page of order X, it will find a page of order Y >= X of a fallback migratetype, which is different from the desired migratetype. With the help of try_to_steal_freepages(), it may change the migratetype (to the desired one) also of: 1) all

[RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-04 Thread Vlastimil Babka
When __rmqueue_fallback() is called to allocate a page of order X, it will find a page of order Y = X of a fallback migratetype, which is different from the desired migratetype. With the help of try_to_steal_freepages(), it may change the migratetype (to the desired one) also of: 1) all currently