]> git.baikalelectronics.ru Git - kernel.git/commit
mm, page_alloc: check once if a zone has isolated pageblocks
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:13:58 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit8758b1f9db2448b59794e77544ff65c36023b125
tree1c64a296774ffc929bf71ab7aab9023379f406dd
parentf26ab337a36f5ea84bed151c34b659c1e002ba46
mm, page_alloc: check once if a zone has isolated pageblocks

When bulk freeing pages from the per-cpu lists the zone is checked for
isolated pageblocks on every release.  This patch checks it once per
drain.

[mgorman@techsingularity.net: fix locking radce, per Vlastimil]
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
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/page_alloc.c