Re: [PATCH 1/2] Traffic control cgroups subsystem

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ranjit Manomohan <ranjitm@...>
Cc: <linux-kernel@...>, <netdev@...>, <menage@...>, <kaber@...>, <akpm@...>
Date: Thursday, August 21, 2008 - 10:11 pm

> +static unsigned int cgroup_tc_classid(struct task_struct *tsk)

trivial: 2 spaces   ^^


...


You may use cgroup_lock_live_group():

	if (cgroup_lock_live_group(cgrp0))
		return -ENODEV;


'cont', 'cgrp' and 'cgroup' are used, it's better to make it consistent
to use 'cgrp' (or 'cgroup') only.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] Traffic control cgroups subsystem, Ranjit Manomohan, (Thu Aug 21, 8:55 pm)
Re: [PATCH 1/2] Traffic control cgroups subsystem, Li Zefan, (Thu Aug 21, 10:11 pm)