]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: page_alloc: lookup pageblock migratetype with IRQs enabled during free
authorMel Gorman <mgorman@suse.de>
Thu, 22 May 2014 00:43:20 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:20 +0000 (10:43 +1000)
commit603bdce8a004b28fa4bdd7cebbd825483be3ea3c
treecec3a1959dc6d15bf595fd1a82c7a7dfe6c108e1
parent77f5b3fbd50d57e0e50d9de36a5a2126e39d64b6
mm: page_alloc: lookup pageblock migratetype with IRQs enabled during free

get_pageblock_migratetype() is called during free with IRQs disabled.
This is unnecessary and disables IRQs for longer than necessary.

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>
mm/page_alloc.c