On Mon, Dec 08, 2014 at 03:47:47PM +0800, Wang, Yalin wrote:
> This patch add VM_BUG_ON() 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
> ---
>
> -Original Message-
> From: Hillf Danton [mailto:hillf...@alibaba-inc.com]
> Sent: Monday, December 08, 2014 5:33 PM
> To: Wang, Yalin
> Cc: linux-kernel; linux...@kvack.org; linux-arm-ker...@lists.infradead.org;
> Andrew Morton; Hillf Danton
> Subject: Re: [PATCH] m
>
> This patch add VM_BUG_ON() 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
> ---
> include/linux/mm.h | 3 ++-
> 1 file changed, 2 insertio
3 matches
Mail list logo