From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756280Ab2DEW67 (ORCPT ); Thu, 5 Apr 2012 18:58:59 -0400 Received: from mail-pz0-f52.google.com ([209.85.210.52]:40373 "EHLO mail-pz0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115Ab2DEW66 (ORCPT ); Thu, 5 Apr 2012 18:58:58 -0400 Date: Thu, 5 Apr 2012 15:58:54 -0700 From: Tejun Heo To: David Rientjes Cc: Mike Galbraith , Andrew Morton , Ingo Molnar , Peter Zijlstra , Paul Menage , LKML , Li Zefan Subject: Re: [patch 0/2] cpusets, cpu_cgroup: disallow attaching kthreadd Message-ID: <20120405225854.GE29517@google.com> References: <1333608177.7783.106.camel@marge.simpson.net> <20120405160829.GA12854@google.com> <20120405213704.GA29517@google.com> <20120405222400.GC29517@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Apr 05, 2012 at 03:55:11PM -0700, David Rientjes wrote: > > I can see your point but the problem is that it conflicts with the > > long term direction cgroup is taking and that cgroup seems generally > > over-engineered to allow too many things which aren't too necessary to > > the point where it's a giant pain in the ass for the subsystems and > > people involved, so I'm far more likely to go for chopping down and > > restricting stuff if it's not strictly necessary. > > How does kthreadd's placement conflict with the long-term direction of > cgroups? Because there's only single hierarchy, random subsystem saying no on ->can_attach() doesn't work. Thanks. -- tejun