commit | 0b423ca22f95a867f789aab1fe57ee4e378df43b | [log] [tgz] |
---|---|---|
author | Mel Gorman <[email protected]> | Thu May 19 17:14:27 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Thu May 19 19:12:14 2016 -0700 |
tree | cf0231b630d9be51604133f20d56a4e617914a33 | |
parent | e5b31ac2ca2cd0cf6bf2fcbb708ed01466c89aaa [diff] |
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 <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>