Re: [Suggestion] kernel/cgroup.c: about kfree after 'get_new_cssid'

From: Li Zefan
Date: Tue May 07 2013 - 20:51:20 EST


>> There's a bug in cgroup_unload_subsys() that idr_destroy() should be called after
>> ss->css_free(). That said, given there's no modular cgroup subsystem using css_id,
>> and the whole css_id thing will be eliminated in 3.11, why bother fixing it.
>>
>
> I just find it by reading code (I also want to learn about kernel).
>
> I guess, for some stable versions, may focus on it, they are the
> different branches from the latest version.
>
> So, is it suitable to send related patch for the bug ?
>

As I said, there's no modular cgroup subsystem using css_id, so the bug
doesn't exist in real world.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/