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

Cyrill Gorcunov
2013-12-18T15:46:58Z

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.