]> git.baikalelectronics.ru Git - kernel.git/commit
mm: get rid of __GFP_OTHER_NODE
authorMichal Hocko <mhocko@suse.com>
Wed, 11 Jan 2017 00:57:42 +0000 (16:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2017 02:31:55 +0000 (18:31 -0800)
commitda1c9e09f4a85e48463b111878274ad09fee63a6
tree359fcc154939bfd41f8cd909513a602afcb5bc7f
parent489b48620586cd7e3d1d7db711e0179a2e68e1fb
mm: get rid of __GFP_OTHER_NODE

The flag was introduced by commit f40c38591c5d ("mm: add
__GFP_OTHER_NODE flag") to allow proper accounting of remote node
allocations done by kernel daemons on behalf of a process - e.g.
khugepaged.

After "mm: fix remote numa hits statistics" we do not need and actually
use the flag so we can safely remove it because all allocations which
are satisfied from their "home" node are accounted properly.

[mhocko@suse.com: fix build]
Link: http://lkml.kernel.org/r/20170106122225.GK5556@dhcp22.suse.cz
Link: http://lkml.kernel.org/r/20170102153057.9451-3-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
include/trace/events/mmflags.h
mm/huge_memory.c
mm/khugepaged.c
mm/page_alloc.c
tools/perf/builtin-kmem.c