Re: [PATCH, RFC 7/9] thp: implement splitting pmd for huge zero page

From: Kirill A. Shutemov
Date: Fri Aug 31 2012 - 10:06:04 EST


On Thu, Aug 16, 2012 at 09:27:38PM +0200, Andrea Arcangeli wrote:
> On Thu, Aug 09, 2012 at 12:08:18PM +0300, Kirill A. Shutemov wrote:
> > + if (is_huge_zero_pmd(*pmd)) {
> > + __split_huge_zero_page_pmd(mm, pmd, address);
>
> This will work fine but it's a bit sad having to add "address" at
> every call, just to run a find_vma().

Hm. address is also used to calculate haddr..

It seems we need pass address anyway. I mean vma + address.

--
Kirill A. Shutemov

Attachment: signature.asc
Description: Digital signature