Re: bad rss-counter message in 3.14rc5

From: Andrew Morton
Date: Tue Mar 11 2014 - 00:42:25 EST


On Mon, 10 Mar 2014 20:13:40 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> > Anyone ? I'm hitting this trace on an almost daily basis, which is a pain
> > while trying to reproduce a different bug..
>
> Damn, I thought we'd fixed that but it seems not. Cc's added.
>
> Guys, what stops the migration target page from coming unlocked in
> parallel with zap_pte_range()'s call to migration_entry_to_page()?

page_table_lock, sort-of. At least, transitions of is_migration_entry()
and page_locked() happen under ptl.

I don't see any holes in regular migration. Do you know if this is
reproducible with CONFIG_NUMA_BALANCING=n or CONFIG_NUMA=n?

--
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/