Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-28 Thread Michael Ellerman
On Tue, 2014-10-28 at 10:44 +, Steve Capper wrote: > On Mon, Oct 27, 2014 at 06:32:41PM -0700, Andrew Morton wrote: > > On Tue, 28 Oct 2014 12:20:29 +1100 Michael Ellerman > > wrote: > > > > > On Mon, 2014-10-27 at 16:06 -0700, Andrew Morton wrote: > > > > On Sat, 25 Oct 2014 16:14:19 +0530

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-28 Thread Steve Capper
On Mon, Oct 27, 2014 at 06:32:41PM -0700, Andrew Morton wrote: > On Tue, 28 Oct 2014 12:20:29 +1100 Michael Ellerman > wrote: > > > On Mon, 2014-10-27 at 16:06 -0700, Andrew Morton wrote: > > > On Sat, 25 Oct 2014 16:14:19 +0530 "Aneesh Kumar K.V" > > > wrote: > > > > > > > Update generic gup

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-28 Thread Steve Capper
On Sat, Oct 25, 2014 at 04:14:19PM +0530, Aneesh Kumar K.V wrote: > Update generic gup implementation with powerpc specific details. > On powerpc at pmd level we can have hugepte, normal pmd pointer > or a pointer to the hugepage directory. > > Signed-off-by: Aneesh Kumar K.V > --- Hi, Apologies

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-27 Thread Andrew Morton
On Tue, 28 Oct 2014 12:20:29 +1100 Michael Ellerman wrote: > On Mon, 2014-10-27 at 16:06 -0700, Andrew Morton wrote: > > On Sat, 25 Oct 2014 16:14:19 +0530 "Aneesh Kumar K.V" > > wrote: > > > > > Update generic gup implementation with powerpc specific details. > > > On powerpc at pmd level we

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-27 Thread Michael Ellerman
On Mon, 2014-10-27 at 16:06 -0700, Andrew Morton wrote: > On Sat, 25 Oct 2014 16:14:19 +0530 "Aneesh Kumar K.V" > wrote: > > > Update generic gup implementation with powerpc specific details. > > On powerpc at pmd level we can have hugepte, normal pmd pointer > > or a pointer to the hugepage dir

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-27 Thread Andrew Morton
On Sat, 25 Oct 2014 16:14:19 +0530 "Aneesh Kumar K.V" wrote: > Update generic gup implementation with powerpc specific details. > On powerpc at pmd level we can have hugepte, normal pmd pointer > or a pointer to the hugepage directory. I grabbed these. It would be better if they were merged in

[PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-25 Thread Aneesh Kumar K.V
Update generic gup implementation with powerpc specific details. On powerpc at pmd level we can have hugepte, normal pmd pointer or a pointer to the hugepage directory. Signed-off-by: Aneesh Kumar K.V --- Changes from V3: * Explain pgd_huge, also move the definition to linux/hugetlb.h. Both pgd