[PATCH V3] mm:add VM_BUG_ON_PAGE() for page_mapcount()

Kirill A. Shutemov kirill at shutemov.name
Mon Dec 8 03:54:47 PST 2014

On Mon, Dec 08, 2014 at 05:59:46PM +0800, Wang, Yalin wrote:
> This patch add VM_BUG_ON_PAGE() for slab page,
> because _mapcount is an union with slab struct in struct page,
> avoid access _mapcount if this page is a slab page.
> Also remove the unneeded bracket.
> Signed-off-by: Yalin Wang <yalin.wang at sonymobile.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
 Kirill A. Shutemov

More information about the linux-arm-kernel mailing list