diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2016-05-20 02:14:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-20 04:12:14 +0200 |
commit | 0b423ca22f95a867f789aab1fe57ee4e378df43b (patch) | |
tree | cf0231b630d9be51604133f20d56a4e617914a33 /mm/memory_hotplug.c | |
parent | mm, page_alloc: remove unnecessary variable from free_pcppages_bulk (diff) | |
download | linux-0b423ca22f95a867f789aab1fe57ee4e378df43b.tar.xz linux-0b423ca22f95a867f789aab1fe57ee4e378df43b.zip |
mm, page_alloc: inline pageblock lookup in page free fast paths
The function call overhead of get_pfnblock_flags_mask() is measurable in
the page free paths. This patch uses an inlined version that is faster.
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/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions