summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2012-08-01 01:42:06 +0200
committerLinus Torvalds2012-08-01 03:42:40 +0200
commit189ebff2894a9d0f4e250dd1e154d282ef0a6779 (patch)
treee498573190660e2cfe6f64ff3fcc8cf3d44a58da /mm/hugetlb.c
parenthugetlb: use mmu_gather instead of a temporary linked list for accumulating p... (diff)
downloadkernel-qcow2-linux-189ebff2894a9d0f4e250dd1e154d282ef0a6779.tar.gz
kernel-qcow2-linux-189ebff2894a9d0f4e250dd1e154d282ef0a6779.tar.xz
kernel-qcow2-linux-189ebff2894a9d0f4e250dd1e154d282ef0a6779.zip
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 <aneesh.kumar@linux.vnet.ibm.com> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: David Rientjes <rientjes@google.com> Cc: Hillf Danton <dhillf@gmail.com> Reviewed-by: Michal Hocko <mhocko@suse.cz> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions