diff options
author | Mel Gorman <mgorman@suse.de> | 2014-06-04 16:10:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:54:09 -0700 |
commit | cfc47a2803db42140167b92d991ef04018e162c7 (patch) | |
tree | 45ba771f22c0f284cc132133933b7eb9a9a415b5 /net/mac80211 | |
parent | dc4b0caff24d9b2918e9f27bc65499ee63187eba (diff) | |
download | linux-cfc47a2803db42140167b92d991ef04018e162c7.tar.gz linux-cfc47a2803db42140167b92d991ef04018e162c7.tar.bz2 linux-cfc47a2803db42140167b92d991ef04018e162c7.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions