commit | cd67f0d2a9a6b5b9f79f4343dc8805757d9ebae2 | [log] [tgz] |
---|---|---|
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | Fri Sep 10 13:23:04 2010 +0900 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 23 17:29:18 2010 -0700 |
tree | 5e97527cfdb295d494e6c97d23b75ce59a25f664 | |
parent | 433abed6c6f76ca079a9564f2a1a51fd28ebe0ca [diff] |
hugetlb, rmap: use hugepage_add_new_anon_rmap() in hugetlb_cow() Obviously, setting anon_vma for COWed hugepage should be done by hugepage_add_new_anon_rmap() to scan vmas faster. This patch fixes it. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Acked-by: Andrea Arcangeli <aarcange@redhat.com> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>