lkml.org 
[lkml]   [2012]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 0/3] cgroup: add xattr support
    Hello, Hugh, Aristeu.

    On Fri, Jul 20, 2012 at 01:59:59PM -0400, Aristeu Rozanski wrote:
    > hm, not sure that's what Tejun meant. tmpfs uses anonymous memory for the file
    > contents, so reuse that infrastructure to allocate space for the extended
    > attributes the same way, instead of using kmem.
    >
    > First thing I can think of is to use whole pages for it to prevent further
    > complexity. Shouldn't make much difference considering the usecases we have
    > now (systemd and containers), right?

    Yeah, that's what I meant. The internal fragmentation is ugly but I
    think that should do for now at least.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2012-07-20 20:41    [W:2.967 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site