]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - mm/page_alloc.c
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)
commit3777999dd47ec00ec34a151b1d93c0a2b721e822
tree1c64a296774ffc929bf71ab7aab9023379f406dd
parent83d4ca8148fd9092715fd8ef75b30bbfd67fd2a9
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