]> Git Repo - linux.git/commit
hugetlb: simplify migrate_huge_page()
authorAneesh Kumar K.V <[email protected]>
Tue, 31 Jul 2012 23:42:06 +0000 (16:42 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 Aug 2012 01:42:40 +0000 (18:42 -0700)
commit189ebff2894a9d0f4e250dd1e154d282ef0a6779
treee498573190660e2cfe6f64ff3fcc8cf3d44a58da
parent24669e58477e2752c1fbca9c1c988e9dd0d79d15
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 <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Hillf Danton <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/migrate.h
mm/memory-failure.c
mm/migrate.c
This page took 0.053635 seconds and 4 git commands to generate.