First, I apologize for my delay reply and appreciate the review from
you and Bob Liu.
On Tue, Sep 10, 2013 at 1:03 AM, Seth Jennings
wrote:
> On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote:
>> zswap_tree is not freed when swapoff, and it got re-kmalloc in swapon,
>> so memory-leak
First, I apologize for my delay reply and appreciate the review from
you and Bob Liu.
On Tue, Sep 10, 2013 at 1:03 AM, Seth Jennings
sjenn...@linux.vnet.ibm.com wrote:
On Fri, Sep 06, 2013 at 01:16:45PM +0800, Weijie Yang wrote:
zswap_tree is not freed when swapoff, and it got re-kmalloc in
On Fri, Sep 06, 2013 at 01:16:45PM +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
> ---
> mm/zswap.c |4
On Fri, Sep 06, 2013 at 01:16:45PM +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
---
On 09/06/2013 01:16 PM, 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
Reviewed-by: Bob Liu
> ---
> mm/zswap.c |
On 09/06/2013 01:16 PM, 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
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
---
mm/zswap.c |4
1 file changed, 4 insertions(+)
diff --git a/mm/zswap.c b/mm/zswap.c
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
---
mm/zswap.c |4
1 file changed, 4 insertions(+)
diff --git
8 matches
Mail list logo