From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Wagner Subject: Re: [PATCH 1/3] netcls_cgroup: introduce netcls_mutex Date: Mon, 19 Nov 2012 15:01:52 +0100 Message-ID: <50AA3BD0.6030803@monom.org> References: <1353123062-23193-1-git-send-email-tj@kernel.org> <1353123062-23193-2-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1353123062-23193-2-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tejun Heo Cc: serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org, tgraf-G/eBtMaohhA@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org 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 Acked-by: Daniel Wagner