Re: [PATCH v3 1/5] mm/hugetlb: reduce arch dependent code around follow_huge_*

2014-09-16 Thread Naoya Horiguchi
I found that the version on the subject of this and later patches isn't correct (s/v3/v4/). It's not critical, so I don't resend to fix it, but sorry if confusing. Naoya On Mon, Sep 15, 2014 at 06:39:55PM -0400, Naoya Horiguchi wrote: > Currently we have many duplicates in definitions around foll

[PATCH v3 1/5] mm/hugetlb: reduce arch dependent code around follow_huge_*

2014-09-15 Thread Naoya Horiguchi
Currently we have many duplicates in definitions around follow_huge_addr(), follow_huge_pmd(), and follow_huge_pud(), so this patch tries to remove them. The basic idea is to put the default implementation for these functions in mm/hugetlb.c as weak symbols (regardless of CONFIG_ARCH_WANT_GENERAL_H