On Mon, Sep 23, 2013 at 04:21:49PM +0800, Weijie Yang wrote:
> zswap_tree is not freed when swapoff, and it got re-kmalloc in swapon,
> so memory-leak occurs.
> 
> Modify: free memory of zswap_tree in zswap_frontswap_invalidate_area().
> 
> Signed-off-by: Weijie Yang <weijie.y...@samsung.com>
> Reviewed-by: Bob Liu <bob....@oracle.com>
> Cc: Minchan Kim <minc...@kernel.org>
> Cc: sta...@vger.kernel.org
> Acked-by: Seth Jennings <sjenn...@linux.vnet.ibm.com>

Reviewed-by: Minchan Kim <minc...@kernel.org>

-- 
Kind regards,
Minchan Kim
--
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/

Reply via email to