]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: do_migrate_range: reduce list_empty() check
authorBob Liu <lliubbo@gmail.com>
Tue, 26 Oct 2010 21:22:10 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:11 +0000 (16:52 -0700)
commitf3ab2636c5c1dd9ab0ff53a46d8354d5769ffdd4
tree4173f57c2c37800dc5b3f5f08b294d560e645e9d
parent809c444977adb7313e0612e9e3af4b73ba3f5746
mm: do_migrate_range: reduce list_empty() check

Simple code for reducing list_empty(&source) check.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c