mm, page_alloc: simplify last cpupid reset
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:13:53 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit09940a4f1e816abe3248fa0d185fc0e7f54c8c12
tree5c38f11be87449271f77b9d213f38a04d4d4999a
parent5bb1b169757875a72e05bfcbb76e22602cb1a760
mm, page_alloc: simplify last cpupid reset

The current reset unnecessarily clears flags and makes pointless
calculations.

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/mm.h