Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753564AbdLMPks (ORCPT ); Wed, 13 Dec 2017 10:40:48 -0500 Received: from mail-qt0-f180.google.com ([209.85.216.180]:36302 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753141AbdLMPko (ORCPT ); Wed, 13 Dec 2017 10:40:44 -0500 X-Google-Smtp-Source: ACJfBouzulI179t2frZWSMIjEFK2USTTvH5kbs3FPk+opWSTqMNmIxGJm0s447vV6AXmaILcnZSHlQ== Date: Wed, 13 Dec 2017 07:40:41 -0800 From: Tejun Heo To: Prateek Sood Cc: Peter Zijlstra , avagin@gmail.com, mingo@kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, sramana@codeaurora.org Subject: Re: [PATCH] cgroup/cpuset: fix circular locking dependency Message-ID: <20171213154041.GP3919388@devbig577.frc2.facebook.com> References: <1511868946-23959-1-git-send-email-prsood@codeaurora.org> <623f214b-8b9a-f967-7a3d-ca9c06151267@codeaurora.org> <20171204202219.GF2421075@devbig577.frc2.facebook.com> <20171204225825.GP2421075@devbig577.frc2.facebook.com> <20171204230117.GF20227@worktop.programming.kicks-ass.net> <4e63b5e9-1696-910f-16ac-4d4d7eb98725@codeaurora.org> <40968aea-cd73-5ce4-d559-962d91e315c5@codeaurora.org> <20171211153258.GI2421075@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 Content-Length: 326 Lines: 14 Hello, Prateek. On Wed, Dec 13, 2017 at 07:58:24PM +0530, Prateek Sood wrote: > Did you mean something like below. If not then could you > please share a patch for this problem in > cgroup_transfer_tasks(). Oh we surely can add a new iterator but we can just count in cgroup_transfer_tasks() too, right? Thanks. -- tejun