commit | 4fcb0971175f6037590d7b7772fe6619261d2165 | [log] [tgz] |
---|---|---|
author | Mel Gorman <mgorman@techsingularity.net> | Thu May 19 17:14:01 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 19 19:12:14 2016 -0700 |
tree | 963444f36dc778cfb4768aec404d1eb923f0982d | |
parent | 3777999dd47ec00ec34a151b1d93c0a2b721e822 [diff] |
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>