mm, page_alloc: convert alloc_flags to unsigned
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:13:38 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commitc603844bdcb5238980de8d58b393f52d7729d651
treec6aefae3a21374dc65f21b89d47965c65fba9f4a
parentf75fb889d18d362e336f8d3fba158a8636d0a063
mm, page_alloc: convert alloc_flags to unsigned

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 <mgorman@techsingularity.net>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compaction.h
include/linux/mmzone.h
mm/compaction.c
mm/internal.h
mm/page_alloc.c