Re: [PATCH 08/28] mm, page_alloc: Convert alloc_flags to unsigned

2016-04-26 Thread Vlastimil Babka
On 04/15/2016 10:59 AM, Mel Gorman wrote: alloc_flags is a bitmask of flags but it is signed which does not necessarily generate the best code depending on the compiler. Even without an impact, it makes more sense that this be unsigned. Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka

[PATCH 08/28] mm, page_alloc: Convert alloc_flags to unsigned

2016-04-15 Thread Mel Gorman
alloc_flags is a bitmask of flags but it is signed which does not necessarily generate the best code depending on the compiler. Even without an impact, it makes more sense that this be unsigned. Signed-off-by: Mel Gorman --- include/linux/compaction.h | 6 +++--- include/linux/mmzone.h | 3