Re: mmotm-2013-05-22: Bad page state

From: Mel Gorman
Date: Wed May 29 2013 - 05:15:57 EST


On Tue, May 28, 2013 at 02:51:21PM -0700, Dave Hansen wrote:
> I was rebasing my mapping->radix_tree lock batching patches on top of
> Mel's stuff. It looks like something is jumping the gun and freeing a
> page before it has been written out. Somebody probably did an extra
> put_page() or something.
>
> I'm running 3.10.0-rc2-mm1-00322-g8d4c612 from
>
> git://git.cmpxchg.org/linux-mmotm.git
>
> This is pretty reproducible. I'll go try and test plain 3.10-rc2 next
> to make sure it's not coming from Linus's stuff.
>

Patch 1 from the follow-up series "mm: vmscan: Block kswapd if it is
encountering pages under writeback -fix"

The rest of that follow-up series needs further work and I'm still
working on it but patch 1 is what fixes this particular problem.
Changelog says why.

--
Mel Gorman
SUSE Labs
--
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/