lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4BBE67B9.9050700@kernel.org>
Date:	Fri, 09 Apr 2010 08:33:13 +0900
From:	Tejun Heo <tj@...nel.org>
To:	Sonic Zhang <sonic.adi@...il.com>
CC:	graff yang <graff.yang@...il.com>, dhowells@...hat.com,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	uclinux-dist-devel@...ckfin.uclinux.org
Subject: Re: [PATCH] mm/nommu.c:Dynamic alloc/free percpu area for nommu

Hello,

On 04/08/2010 06:40 PM, Sonic Zhang wrote:
> There is memory leak with you patch. Free memory continuously
> decreases when running test_pcpu. After about 30 minutes, kernel hangs
> in out_of_memory().
> 
> root/> while [ 1 ]; do modprobe test_pcpu; rmmod test_pcpu; cat
> proc/meminfo; done

Yeap, chunk->map wasn't freed in the original version.  In the updated
split version I posted yesterday, it's fixed.  Can you please test
that code?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ