lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] thp: Add compound tail page _mapcount when mapped
> > +++ b/arch/x86/mm/gup.c
> > @@ -201,6 +201,8 @@ static noinline int gup_huge_pud(pud_t pud, unsigned long addr,
> > do {
> > VM_BUG_ON(compound_head(page) != head);
> > pages[*nr] = page;
> > + if (PageTail(page))
> > + get_huge_page_tail(page);
> > (*nr)++;
> > page++;
> > refs++;
>
> Is the patch also applicable to 3.1.x?

I suspect it's broken since many kernels back, at least since THP
was introduced, maybe earlier.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2011-11-29 01:21    [from the cache]
©2003-2011 Jasper Spaans