From: Mel Gorman Date: Wed, 4 Jun 2014 23:10:17 +0000 (-0700) Subject: mm: page_alloc: reduce number of times page_to_pfn is called X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc4b0caff24d9b2918e9f27bc65499ee63187eba;p=pandora-kernel.git mm: page_alloc: reduce number of times page_to_pfn is called In the free path we calculate page_to_pfn multiple times. Reduce that. Signed-off-by: Mel Gorman Acked-by: Rik van Riel Cc: Johannes Weiner Acked-by: Vlastimil Babka Cc: Jan Kara Cc: Michal Hocko Cc: Hugh Dickins Cc: Dave Hansen Cc: Theodore Ts'o Cc: "Paul E. McKenney" Cc: Oleg Nesterov Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed