LWN.net Logo

Re: WARNING: at mm/page-writeback.c:1990 __set_page_dirty_nobuffers+0x13a/0x170()

From:  Hugh Dickins <hughd-AT-google.com>
To:  Linus Torvalds <torvalds-AT-linux-foundation.org>
Subject:  Re: WARNING: at mm/page-writeback.c:1990 __set_page_dirty_nobuffers+0x13a/0x170()
Date:  Sun, 3 Jun 2012 18:18:39 -0700 (PDT)
Message-ID:  <alpine.LSU.2.00.1206031812380.5143@eggly.anvils>
Cc:  Dave Jones <davej-AT-redhat.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie-AT-samsung.com>, Kyungmin Park <kyungmin.park-AT-samsung.com>, Marek Szyprowski <m.szyprowski-AT-samsung.com>, Mel Gorman <mgorman-AT-suse.de>, Minchan Kim <minchan-AT-kernel.org>, Rik van Riel <riel-AT-redhat.com>, Andrew Morton <akpm-AT-linux-foundation.org>, Cong Wang <amwang-AT-redhat.com>, Markus Trippelsdorf <markus-AT-trippelsdorf.de>, linux-kernel-AT-vger.kernel.org, linux-mm-AT-kvack.org
Archive-link:  Article, Thread

On Sun, 3 Jun 2012, Linus Torvalds wrote:
> On Sun, Jun 3, 2012 at 3:17 PM, Hugh Dickins <hughd@google.com> wrote:
> >
> > But another strike against that commit: I tried fixing it up to use
> > start_page instead of page at the end, with the worrying but safer
> > locking I suggested at first, with a count of how many times it went
> > there, and how many times it succeeded.
> 
> You can't use start_page anyway, it might not be a valid page. There's
> a reson it does that "pfn_valid_within()", methinks.

You wouldn't want me to say that I think you're right,
it would impudently suggest that I might conceive of you being wrong.
I sigh for your heavy burden.

> 
> Anyway, my current plan is to apply your "mm: fix warning in
> __set_page_dirty_nobuffers" patch - even if it's just a harmless
> WARN_ON_ONCE(), and revert 5ceb9ce6fe94. Sounds like Dave hit normally
> hit his problem much before two hours, and it must be even longer now.
> 
> Ack on that plan?

Sure, ack from me on that plan.

Hugh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>



(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds