[Dev] tizen-common kernel xattr memory leak

José Bollo jose.bollo at open.eurogiciel.org
Thu Oct 9 10:19:09 GMT 2014

On gio, 2014-10-09 at 11:57 +0200, Janusz Kozerski wrote:
> On 2014-10-09 11:42:56, José Bollo wrote:
> I've tried - it's exactly like you said.
> Using cat gives even more leakage, and "echo 1 > /proc/sys/vm/drop_caches" helps.
> Do you know how to fix it?

That is not a leak, that is the normal behaviour of the caches of the
kernel. You can control it using slabinfo (man 5). For the test made, I
found that you should tune the caches of names:
proc_inode_cache, inode_cache, ext4_inode_cache, ext4_extend_status,

Best regards

More information about the Dev mailing list