diff options
author | Mel Gorman <mgorman@suse.de> | 2014-06-04 16:10:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:54:09 -0700 |
commit | dc4b0caff24d9b2918e9f27bc65499ee63187eba (patch) | |
tree | ae94a40e2da00a8b32c81c4451d42447b65d6e03 /drivers/cpufreq | |
parent | e58469bafd0524e848c3733bc3918d854595e20f (diff) | |
download | op-kernel-dev-dc4b0caff24d9b2918e9f27bc65499ee63187eba.zip op-kernel-dev-dc4b0caff24d9b2918e9f27bc65499ee63187eba.tar.gz |
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 <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions