[lkml]   [2012]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: memcg: cat: memory.memsw.* : Operation not supported
    Hello, KAME.

    On Thu, Jun 28, 2012 at 01:04:16PM +0900, Kamezawa Hiroyuki wrote:
    > >I still wish it's folded into CONFIG_MEMCG and conditionalized just on
    > >CONFIG_SWAP tho.
    > >
    > In old days, memsw controller was not very stable. So, we devided the config.
    > And, it makes size of memory for swap-device double (adds 2bytes per swapent.)
    > That is the problem.

    I see. Do you think it's now reasonable to drop the separate config
    option? Having memcg enabled but swap unaccounted sounds half-broken
    to me.

    > that time, we made decision, cgroup has no feature to
    > 'create files dynamically'. Then, we made it in static, decision was done
    > at compile time and ignores "do_swap_account".
    > Now, IIUC, we have the feature. So, it's may be a time to create the file
    > with regard to "do_swap_account", making decision at boot time.

    Heh, yeah, maybe I'm confused about how it happened. Anyways, let's
    get it fixed.



     \ /
      Last update: 2012-06-28 20:41    [W:0.021 / U:105.444 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site