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

Cyrill Gorcunov
2013-12-18T15:41:49Z

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!