On Fri, May 11, 2012 at 12:59:21PM -0700, Andrew Morton wrote: > > https://bugzilla.kernel.org/show_bug.cgi?id=43227 > > > > [67031.755786] BUG: Bad page state in process wcg_gfam_6.11_i pfn:02519 > > [67031.755790] page:ffffea0000094640 count:0 mapcount:0 mapping: > > (null) index:0x7f1eb293b > > [67031.755792] page flags: 0x4000000000000014(referenced|dirty) > > AFAICT we got this warning because the page allocator found a free page > with PG_referenced and PG_dirty set. > > It would be a heck of a lot more useful if we'd been told about this > when the page was freed, not when it was reused! Can anyone think of a > reason why PAGE_FLAGS_CHECK_AT_FREE doesn't include these flags (at > least)? We got a similar bug reported in Fedora against 3.3.4 yesterday. https://bugzilla.redhat.com/show_bug.cgi?id=820603 :[162276.196730] BUG: Bad page state in process transmission-gt pfn:1bddff :[162276.196735] page:ffffea0006f77fc0 count:0 mapcount:0 mapping: (null) index:0x7f2fdb962 :[162276.196737] page flags: 0x40000000000014(referenced|dirty) Different trace, but same result. Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. 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@xxxxxxxxx"> email@xxxxxxxxx </a>