diff options
| author | Mel Gorman <mgorman@techsingularity.net> | 2016-05-19 17:14:01 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-19 19:12:14 -0700 |
| commit | 4fcb0971175f6037590d7b7772fe6619261d2165 (patch) | |
| tree | 963444f36dc778cfb4768aec404d1eb923f0982d /scripts/stackusage | |
| parent | mm, page_alloc: check once if a zone has isolated pageblocks (diff) | |
| download | linux-4fcb0971175f6037590d7b7772fe6619261d2165.tar.gz linux-4fcb0971175f6037590d7b7772fe6619261d2165.zip | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
