Re: [PATCH v3 0/3] cgroup: add xattr support

From: Tejun Heo
Date: Tue Jul 24 2012 - 14:28:10 EST


Hello,

On Mon, Jul 23, 2012 at 02:12:52PM -0400, Aristeu Rozanski wrote:
> > Will "lsattr -R" in the cgroupfs mountpoint do enough to judge how
> > much memory is being used in this way? I expect not, but I'm
> > unfamliar with it: you may need to show counts elsewhere.
>
> that's for ext{2,3,4} file attributes, not extended attributes. but agreed,
> there's a need to have this stat somewhere. Tejun, any ideas?

No idea. Don't we need some mechanism to limit the amount of memory
consumed too? Also, do you know what type of metadata systemd is
trying to store in cgroupfs? Depending on the size requirement, it
might not be worth it to implement it using kernel memory.

Thanks.

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