Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-25 Thread Vlastimil Babka
On 08/24/2015 02:09 PM, Mel Gorman wrote: This patch redefines which GFP bits are used for specifying mobility and the order of the migrate types. Once redefined it's possible to convert GFP flags to a migrate type with a simple mask and shift. The only downside is that readers of OOM kill

Re: [PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-25 Thread Vlastimil Babka
On 08/24/2015 02:09 PM, Mel Gorman wrote: This patch redefines which GFP bits are used for specifying mobility and the order of the migrate types. Once redefined it's possible to convert GFP flags to a migrate type with a simple mask and shift. The only downside is that readers of OOM kill

[PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-24 Thread Mel Gorman
This patch redefines which GFP bits are used for specifying mobility and the order of the migrate types. Once redefined it's possible to convert GFP flags to a migrate type with a simple mask and shift. The only downside is that readers of OOM kill messages and allocation failures may have been

[PATCH 06/12] mm, page_alloc: Use masks and shifts when converting GFP flags to migrate types

2015-08-24 Thread Mel Gorman
This patch redefines which GFP bits are used for specifying mobility and the order of the migrate types. Once redefined it's possible to convert GFP flags to a migrate type with a simple mask and shift. The only downside is that readers of OOM kill messages and allocation failures may have been