Re: [PATCH 1/3] netcls_cgroup: introduce netcls_mutex

From: Daniel Wagner
Date: Mon Nov 19 2012 - 09:01:42 EST


On 17.11.2012 04:31, Tejun Heo wrote:
Introduce netcls_mutex to synchronize modifications to
cgroup_cls_state. New cgrp now inherits classid from ->css_online()
and write_classid() updates classid while holdin netcls_mutex.

As write_classid() doesn't propagate new configuration downwards, this
currently doesn't make any userland-visible difference, but will help
implementing proper hierarchy support.

Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Acked-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>

--
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/