[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090517.135856.123307111.davem@davemloft.net>
Date: Sun, 17 May 2009 13:58:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, lizf@...fujitsu.com, lizf@...fujitsuc.com,
menage@...gle.com
Subject: Re: [patch 1/2] cls_cgroup: remove unneeded cgroup_lock
From: akpm@...ux-foundation.org
Date: Tue, 12 May 2009 13:47:33 -0700
> From: Li Zefan <lizf@...fujitsu.com>
>
> We can remove this lock here, since we are in cgroup write handler and
> thus the cgrp is guaranteed to be valid, and no lock is needed when
> writing a u32 variable.
>
> Signed-off-by: Li Zefan <lizf@...fujitsuc.com>
> Acked-by: Paul Menage <menage@...gle.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists