From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932179AbdGSRss (ORCPT ); Wed, 19 Jul 2017 13:48:48 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:37089 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755964AbdGSRsq (ORCPT ); Wed, 19 Jul 2017 13:48:46 -0400 Date: Wed, 19 Jul 2017 13:48:42 -0400 From: Tejun Heo To: Waiman Long Cc: Peter Zijlstra , lizefan@huawei.com, hannes@cmpxchg.org, mingo@redhat.com, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, efault@gmx.de, torvalds@linux-foundation.org, guro@fb.com Subject: Re: [PATCH 5/6] cgroup: implement cgroup v2 thread support Message-ID: <20170719174842.GR3365493@devbig577.frc2.facebook.com> References: <20170717020721.3612468-1-tj@kernel.org> <20170717020721.3612468-6-tj@kernel.org> <20170717141409.sqafufjupsiffnri@hirez.programming.kicks-ass.net> <825f2eaa-568a-a156-f04d-9235b20e2614@redhat.com> <5fa00590-551f-85d2-511b-ef4033781228@redhat.com> <20170718171034.GE585283@devbig577.frc2.facebook.com> <20170719162937.GP3365493@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Waiman. On Wed, Jul 19, 2017 at 01:09:38PM -0400, Waiman Long wrote: > For me, that is the only good reason why we should keep the current > behavior. So I am fine with that. > > + cgrp->dom_cgrp = cgrp->dom_cgrp; > > However, I am still puzzled by above line of code, should it be just > > cgrp->dom_cgrp = cgrp; Oh I see. Yeah, that's just a silly (harmless) bug. The field gets properly initialized in init_cgroup_housekeeping(). I'll remove that line. Thanks! -- tejun