Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755984AbbHYSOu (ORCPT ); Tue, 25 Aug 2015 14:14:50 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:33870 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbbHYSOs (ORCPT ); Tue, 25 Aug 2015 14:14:48 -0400 Date: Tue, 25 Aug 2015 14:14:45 -0400 From: Tejun Heo To: Aleksa Sarai Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH 1/2] cgroup: get a ref to source csses when migrating Message-ID: <20150825181445.GB26785@mtj.duckdns.org> References: <1440335432-4202-1-git-send-email-cyphar@cyphar.com> <1440335432-4202-2-git-send-email-cyphar@cyphar.com> <20150824184507.GB28944@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 23 Hello, Aleksa. On Tue, Aug 25, 2015 at 12:00:54PM +1000, Aleksa Sarai wrote: > You also mentioned that depending on the css_set's ref being bumped to > protect the contained csses is "sort of implementation detail. It can > be implemented in different ways." Which made me think that depending > on that is not a good idea. > > But if it's safe to depend on the cgroup_migrate_add_src() pinning the > ref on the css_set, I'll drop this patch and fix up the other one > accordingly. Yeah, let's go w/o the explicit refcnting. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/