summaryrefslogtreecommitdiff
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@techsingularity.net>2016-05-20 03:14:01 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-20 05:12:14 +0300
commit4fcb0971175f6037590d7b7772fe6619261d2165 (patch)
tree963444f36dc778cfb4768aec404d1eb923f0982d /mm/memblock.c
parent3777999dd47ec00ec34a151b1d93c0a2b721e822 (diff)
downloadlinux-4fcb0971175f6037590d7b7772fe6619261d2165.tar.xz
mm, page_alloc: shorten the page allocator fast path
The page allocator fast path checks page multiple times unnecessarily. This patch avoids all the slowpath checks if the first allocation attempt succeeds. 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>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions