]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe83d261296ef629c033f416a6906388b2ef6df2
treec6aefae3a21374dc65f21b89d47965c65fba9f4a
parentf9654df4d479a74684cfe623d1d21b2c4875af45
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