lkml.org 
[lkml]   [2012]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] cgroup: add xattr support
On Wed, Jan 18, 2012 at 06:20:05PM -0800, Tejun Heo wrote:
> Hello, Lennart, Li.
>
> Two things.
>
> * Probably I'm missing something but isn't the systemd cgroup
> hierarchy already managed by systemd? If so, I don't see how
> managing tmpfs on the side would noticeably make things more
> fragile. It would take a bit more care after, for example, restart
> but it shouldn't be too complex, no?
>
> * FS attributes already being used for userland information seems like
> a good argument, but we shouldn't add separate specialized xattr
> implementation to different pseudo filesystems. For it to be
> acceptable, it should be a libfs thing easily applicable to any
> pseudo FS and definitely shouldn't be using kmem for storage.

Also note that tmpfs also implies size limit. We definitely need some
form of control over the amount of memory xattr may consume.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-01-19 03:43    [from the cache]
©2003-2011 Jasper Spaans