Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-22 Thread zhong jiang
On 2016/6/21 23:29, Kirill A. Shutemov wrote: > On Tue, Jun 21, 2016 at 11:19:07PM +0800, zhong jiang wrote: >> On 2016/6/21 22:37, Kirill A. Shutemov wrote: >>> On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: From: zhong jiang with great pressure, I run some test cases.

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread zhong jiang
On 2016/6/21 23:29, Kirill A. Shutemov wrote: > On Tue, Jun 21, 2016 at 11:19:07PM +0800, zhong jiang wrote: >> On 2016/6/21 22:37, Kirill A. Shutemov wrote: >>> On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: From: zhong jiang with great pressure, I run some test cases.

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread Kirill A. Shutemov
On Tue, Jun 21, 2016 at 11:19:07PM +0800, zhong jiang wrote: > On 2016/6/21 22:37, Kirill A. Shutemov wrote: > > On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: > >> From: zhong jiang > >> > >> with great pressure, I run some test cases. As a result, I found > >> that the THP is not fr

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread Kirill A. Shutemov
On Tue, Jun 21, 2016 at 10:05:56PM +0800, zhongjiang wrote: > From: zhong jiang > > with great pressure, I run some test cases. As a result, I found > that the THP is not freed, it is detected by check_mm(). > > BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 > > Consider the follo

[PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread zhongjiang
From: zhong jiang with great pressure, I run some test cases. As a result, I found that the THP is not freed, it is detected by check_mm(). BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 Consider the following race : CPU0 CPU1 __handle_mm_f

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread Michal Hocko
[CCing Kirill] On Tue 21-06-16 22:05:56, zhongjiang wrote: > From: zhong jiang > > with great pressure, I run some test cases. As a result, I found > that the THP is not freed, it is detected by check_mm(). > > BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 > > Consider the follo

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc4] [also build test ERROR on next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/zhongjiang/mm-huge_memory-fix-the-memory-leak-due-to-the-race/2016

Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc4] [also build test ERROR on next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/zhongjiang/mm-huge_memory-fix-the-memory-leak-due-to-the-race/2016

[PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread zhongjiang
From: zhong jiang with great pressure, I run some test cases. As a result, I found that the THP is not freed, it is detected by check_mm(). BUG: Bad rss-counter state mm:8827edb7 idx:1 val:512 Consider the following race : CPU0 CPU1 __handle_mm_f