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

2014-11-01 Thread David Miller
From: "Aneesh Kumar K.V" Date: Wed, 29 Oct 2014 13:49:44 +0530 > 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

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

2014-11-01 Thread David Miller
From: "Aneesh Kumar K.V" Date: Wed, 29 Oct 2014 13:49:44 +0530 > +/* > + * Some architectures requires a hugepage directory format that is > + * required to support multiple hugepage sizes. For example > + * a4fe3ce7699bfe1bd88f816b55d42d8fe1dac655 introduced the same > + * on powerpc. This allow

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

2014-10-29 Thread Steve Capper
On Wed, Oct 29, 2014 at 01:49:44PM +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 Acked-by: Steve Cap

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

2014-10-29 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: * Drop arm and arm64 changes * Add hugepte assumption to the function ar