lkml.org 
[lkml]   [2012]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/7] netprio_cgroup: use cgroup->id instead of cgroup_netprio_state->prioidx
    On 20.11.2012 09:30, Tejun Heo wrote:
    > With priomap expansion no longer depending on knowing max id
    > allocated, netprio_cgroup can use cgroup->id insted of cs->prioidx.
    > Drop prioidx alloc/free logic and convert all uses to cgroup->id.
    >
    > * In cgrp_css_alloc(), parent->id test is moved above @cs allocation
    > to simplify error path.
    >
    > * In cgrp_css_free(), @cs assignment is made initialization.
    >
    > Signed-off-by: Tejun Heo <tj@kernel.org>
    > Acked-by: Neil Horman <nhorman@tuxdriver.com>

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



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