]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf0fe325365f42e716efe999b7d8a2a00eec81be
tree5c38f11be87449271f77b9d213f38a04d4d4999a
parent4db870567c2dd8f114a7a6908d3db6f4d8584b0e
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