Re: mm: kernel BUG at include/linux/swapops.h:131!

From: Cyrill Gorcunov
Date: Wed Dec 18 2013 - 10:47:01 EST


On Wed, Dec 18, 2013 at 07:41:45PM +0400, Cyrill Gorcunov wrote:
> On Wed, Dec 18, 2013 at 10:37:39AM -0500, Sasha Levin wrote:
> > Hi all,
> >
> > While fuzzing with trinity inside a KVM tools guest running latest
> > -next kernel, I've stumbled on the following spew.
> >
> > The code is in zap_pte_range():
> >
> > if (!non_swap_entry(entry))
> > rss[MM_SWAPENTS]--;
> > else if (is_migration_entry(entry)) {
> > struct page *page;
> >
> > page = migration_entry_to_page(entry); <==== HERE
> >
> > if (PageAnon(page))
> > rss[MM_ANONPAGES]--;
> > else
> > rss[MM_FILEPAGES]--;
>
> This I think is my issue, I'll take a look, thanks Sasha!

Ah, no. I thought it somehow related to dirty tracking, but
it's not, different issue.
--
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/