Re: 2.6.38-rc1 problems with khugepaged

From: Johannes Weiner
Date: Wed Jan 19 2011 - 20:10:48 EST


On Thu, Jan 20, 2011 at 01:01:47AM +0100, Andrea Arcangeli wrote:
> On Wed, Jan 19, 2011 at 10:45:23PM +0100, Johannes Weiner wrote:
> > Hi,
> >
> > On Wed, Jan 19, 2011 at 04:59:54PM +0100, Borislav Petkov wrote:
> > > Adding some more parties to CC.
> > >
> > > On Wed, Jan 19, 2011 at 09:45:25AM -0400, werner wrote:
> > > > ** Help Help Help ***
> > > >
> > > > My computer crashs on booting ... :( :(
> >
> > That sucks!
> >
> > I cross-compiled for 32-bit and was able to match up the disassembly
> > against the code line from your oops report. Apparently the pte was
> > an invalid pointer, and it makes perfect sense: we unmap the highpte
> > _before_ we access the pointer again for __collapse_huge_page_copy().
> >
> > Can you test with this fix applied? It is only compile-tested, I too
> > have no 32-bit installations anymore.
>
> Thanks Johannes, I already sent the same fix a few minutes ago, it is
> also confirmed to work from Ilya in Message-ID:
> <20110119224950.GA3429@xxxxxxxxxxxxxx>

Actually, I sent it half an hour before you ;-) But good to see that
it fixes the problem.

Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/