Slab memory leak in JFFS2 filesystems
Artem Bityutskiy
dedekind1 at gmail.com
Fri Feb 25 07:38:44 EST 2011
On Thu, 2011-02-24 at 18:41 -0600, Johns Daniel wrote:
> I have discovered a kernel memory leak associated with JFFS2
> filesystems. I have verified the leak in kernels 2.6.28 and 2.6.36 on
> a Freescale PowerPC board using this script:
>
> while :; do FN=$(mktemp /jffs2fs/TMP.XXXXXXXX); \
> cat /proc/slabinfo |grep "dentry\|size-64 "; sleep 1; /bin/rm $FN; done
Please, check whether they go away after:
echo 3 > /proc/sys/vm/drop_caches
See Documentation/sysctl/vm.txt for more information about what this
means.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list