Re: [PATCH] mm: __delete_from_page_cache WARN_ON(page_mapped)

2016-02-29 Thread Hugh Dickins
On Mon, 29 Feb 2016, Kirill A. Shutemov wrote: > On Sun, Feb 28, 2016 at 08:49:10PM -0800, Hugh Dickins wrote: > > Commit e1534ae95004 ("mm: differentiate page_mapped() from page_mapcount() > > for compound pages") changed the famous BUG_ON(page_mapped(page)) in > > __delete_from_page_cache() to VM

Re: [PATCH] mm: __delete_from_page_cache WARN_ON(page_mapped)

2016-02-29 Thread Kirill A. Shutemov
On Sun, Feb 28, 2016 at 08:49:10PM -0800, Hugh Dickins wrote: > Commit e1534ae95004 ("mm: differentiate page_mapped() from page_mapcount() > for compound pages") changed the famous BUG_ON(page_mapped(page)) in > __delete_from_page_cache() to VM_BUG_ON_PAGE(page_mapped(page)): which > gives us more

Re: [PATCH] mm: __delete_from_page_cache WARN_ON(page_mapped)

2016-02-28 Thread Joonsoo Kim
2016-02-29 13:49 GMT+09:00 Hugh Dickins : > Commit e1534ae95004 ("mm: differentiate page_mapped() from page_mapcount() > for compound pages") changed the famous BUG_ON(page_mapped(page)) in > __delete_from_page_cache() to VM_BUG_ON_PAGE(page_mapped(page)): which > gives us more info when CONFIG_DEB

[PATCH] mm: __delete_from_page_cache WARN_ON(page_mapped)

2016-02-28 Thread Hugh Dickins
Commit e1534ae95004 ("mm: differentiate page_mapped() from page_mapcount() for compound pages") changed the famous BUG_ON(page_mapped(page)) in __delete_from_page_cache() to VM_BUG_ON_PAGE(page_mapped(page)): which gives us more info when CONFIG_DEBUG_VM=y, but nothing at all when not. Although it