mm: get rid of __GFP_OTHER_NODE
authorMichal Hocko <[email protected]>
Wed, 11 Jan 2017 00:57:42 +0000 (16:57 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Jan 2017 02:31:55 +0000 (18:31 -0800)
commit41b6167e8f746b475668f1da78599fc4284f18db
tree359fcc154939bfd41f8cd909513a602afcb5bc7f
parent2df26639e708a88dcc22171949da638a9998f3bc
mm: get rid of __GFP_OTHER_NODE

The flag was introduced by commit 78afd5612deb ("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.

[[email protected]: fix build]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Taku Izumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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