Re: linux-next: Tree for Jul 3

From: Steve Capper
Date: Wed Jul 03 2013 - 07:25:55 EST


On Wed, Jul 03, 2013 at 06:06:20PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20130702:
>
> The powerpc tree lost its build failure.
>
> The device-mapper tree gained a conflict against the md tree.
>
> The net-next tree gained a build failure for which I cherry-picked an
> upcoming fix.
>
> The trivial tree gained conflicts against the btrfs and Linus' trees.
>
> The xen-two tree gained a conflict against the tip tree.
>
> The akpm tree lost some patches that turned up elsewhere.
>
> The cpuinit tree lost a patch that turned up elsewhere.
>
> ----------------------------------------------------------------------------
>

Hi,
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.

Cheers,
--
Steve
--
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/