mm, page_alloc: remove field from alloc_context
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:14:13 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit93ea9964d14ad583492ffb9ab7543f015876aaf2
tree1225c8ae0c5d85b40e386d860abcd24f44664633
parentc33d6c06f60f710f0305ae792773e1c2560e1e51
mm, page_alloc: remove field from alloc_context

The classzone_idx can be inferred from preferred_zoneref so remove the
unnecessary field and save stack space.

Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Cc: 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>
mm/compaction.c
mm/internal.h
mm/page_alloc.c