On Thu, Dec 19, 2013 at 02:55:10PM +0900, Joonsoo Kim wrote: > On Thu, Dec 19, 2013 at 01:41:55PM +0800, Wanpeng Li wrote: > > This bug is introduced by commit 37f093cdf(mm/rmap: use rmap_walk() in > > page_referenced()). page_get_anon_vma() called in page_referenced_anon() > > will lock and increase the refcount of anon_vma. PageLocked is not required > > by page_referenced_anon() and there is not any assertion before, commit > > 37f093cdf introduced this extra BUG_ON() checking for anon page by mistake. > > This patch fix it by remove rmap_walk()'s VM_BUG_ON() and comment reason > > why > > the page must be locked for rmap_walk_ksm() and rmap_walk_file().
FYI. See following link to get more information. https://lkml.org/lkml/2004/7/12/241 Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/