On Thu, Dec 19, 2013 at 03:07:03PM +0900, Joonsoo Kim wrote: >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 > Interesting, thanks. ;-) Regards, Wanpeng Li >Thanks. -- 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/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>