From: Aneesh Kumar K.V Date: Tue, 31 Jul 2012 23:42:06 +0000 (-0700) Subject: hugetlb: simplify migrate_huge_page() X-Git-Tag: v3.6-rc1~24^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=189ebff2894a9d0f4e250dd1e154d282ef0a6779;p=pandora-kernel.git hugetlb: simplify migrate_huge_page() Since we migrate only one hugepage, don't use linked list for passing the page around. Directly pass the page that need to be migrated as argument. This also removes the usage of page->lru in the migrate path. Signed-off-by: Aneesh Kumar K.V Reviewed-by: KAMEZAWA Hiroyuki Cc: David Rientjes Cc: Hillf Danton Reviewed-by: Michal Hocko Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed