]> 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)
commit21bf2c191e706f735c9fa06b73a0d8fbb3cd42ac
treec6aefae3a21374dc65f21b89d47965c65fba9f4a
parent50e4fa5c2568769e02808d4e9b4a6fb2d99fdb20
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