Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760995AbYHOTcN (ORCPT ); Fri, 15 Aug 2008 15:32:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758135AbYHOTb6 (ORCPT ); Fri, 15 Aug 2008 15:31:58 -0400 Received: from E23SMTP05.au.ibm.com ([202.81.18.174]:43911 "EHLO e23smtp05.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758094AbYHOTb5 (ORCPT ); Fri, 15 Aug 2008 15:31:57 -0400 Date: Sat, 16 Aug 2008 01:01:32 +0530 From: Dhaval Giani To: menage@google.com, pj@sgi.com Cc: danms@us.ibm.com, Balbir Singh , lkml , libcg-devel Subject: Default values for cpuset.mems, cpus for children created Message-ID: <20080815193132.GE11844@linux.vnet.ibm.com> Reply-To: Dhaval Giani MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1257 Lines: 31 Hi, While playing around with libcgroup, one of the isses hit was that attaching a task failed. Looking deeper into it, cpusets had been mounted along with other subsystems. And since we did not care about cpusets, we did not set cpus and mems there. Now an application programmer does not really care where and how subsystems are mounted (or at least that is what libcgroup aims to achieve :-) ). And such a scenario when the cpuset has not been handled is going to lead to failures which a user is not expecting. To work around this, I am making a change which will just set the values which the parent group has for unfilled values, but I can already see cpuset breaking that assumption as well. (for example exclusive cpusets). I was wondering, why can we not have some sane default values set for cpus and mems when a group is created. (That will also avoid a lot of heartbreak for me as well :-) ) (Or if you have some sane solution that has not hit me yet, i am all ears) Thanks, -- regards, Dhaval -- 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/