Re: linux-next: Tree for Jul 3

From: JÃrn Engel
Date: Wed Jul 03 2013 - 12:18:51 EST


On Wed, 3 July 2013 12:25:41 +0100, Steve Capper wrote:
>
> Today's linux-next appears to introduce some BUGs when running the libhugetlbfs
> testsuite (under both ARM64 and x86_64):
>
> [ 94.320661] BUG: Bad rss-counter state mm:ffff880119461040 idx:1 val:-512
> [ 94.330346] BUG: Bad rss-counter state mm:ffff880119460680 idx:1 val:-2560
> [ 94.341746] BUG: Bad rss-counter state mm:ffff880119460d00 idx:1 val:-512
> [ 94.347518] BUG: Bad rss-counter state mm:ffff880119460d00 idx:1 val:-512
> [ 94.415203] BUG: Bad rss-counter state mm:ffff8801194f9040 idx:1 val:-1024
>
> I've bisected this to commit:
> commit 446313e3e4e7274c4d1e449d107fab6c041ec59c
> hugetlb: properly account rss
>
> The bad counter values I get are all negative.
>
> To reproduce this, just run through the latest libhugetlbfs test suite, these
> warnings appear pretty much immediately. (I set aside 200 huge pages first):
> http://libhugetlbfs.sourceforge.net/
>
> Reverting this commit allows the test suite to run without problems.

Thank you, I will have a look. For the interim, dropping this patch
from -mm seems the best approach.

JÃrn

--
Geld macht nicht glÃcklich.
GlÃck macht nicht satt.
--
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/