lkml.org 
[lkml]   [2012]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/3] netcls_cgroup: introduce cgroup_cls_state->is_local
    Hi Tejun,

    On 19.11.2012 18:30, Tejun Heo wrote:
    > cs->is_local will be used to indicate whether the cgroup has its own
    > configuration or inherited from the parent. It's set when classid is
    > configured by writing a positive value to cgroup file
    > "net_cls.classid" and cleared when a negative value is written.
    >
    > is_local is visible to userland via cgroup file "net_cls.is_local" so
    > that userland can know whether a cgroup has its config or not.
    >
    > This patch doesn't yet change hierarchy behavior. The next patch will
    > use is_local to implement proper hierarchy.
    >
    > v2: Daniel pointed out that cftype->write_u64() accepts base prefix
    > (e.g. 0x10 for 16). Updated "%lld" to "%lli".
    >
    > Signed-off-by: Tejun Heo <tj@kernel.org>
    > Acked-by: David S. Miller <davem@davemloft.net>
    > Acked-by: Neil Horman <nhorman@tuxdriver.com>
    > Cc: Daniel Wagner <wagi@monom.org>

    Acked-by: Daniel Wagner <daniel.wagner@bmw-carit.de>

    thanks,
    daniel



    \
     
     \ /
      Last update: 2012-11-19 21:01    [W:4.073 / U:1.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site