]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: rename gfpflags_to_migratetype to gfp_migratetype for same convention
authorWei Yang <richard.weiyang@gmail.com>
Wed, 3 Jun 2020 22:59:08 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jun 2020 03:09:45 +0000 (20:09 -0700)
commit01c0bfe061f309b848d51619f20495ee2acd7727
tree5f72ca86d1f68ba33a4ae97981677dfefdc0e9d9
parentd0ddf49b7c4a3161d28f58612672d08ee9b5db94
mm: rename gfpflags_to_migratetype to gfp_migratetype for same convention

Pageblock migrate type is encoded in GFP flags, just as zone_type and
zonelist.

Currently we use gfp_zone() and gfp_zonelist() to extract related
information, it would be proper to use the same naming convention for
migrate type.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Link: http://lkml.kernel.org/r/20200329080823.7735-1-richard.weiyang@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
mm/compaction.c
mm/page_alloc.c
mm/page_owner.c