public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dhaval Giani <dhaval@linux.vnet.ibm.com>
To: menage@google.com, pj@sgi.com
Cc: danms@us.ibm.com, Balbir Singh <balbir@in.ibm.com>,
	lkml <linux-kernel@vger.kernel.org>,
	libcg-devel <libcg-devel@lists.sourceforge.net>
Subject: Default values for cpuset.mems, cpus for children created
Date: Sat, 16 Aug 2008 01:01:32 +0530	[thread overview]
Message-ID: <20080815193132.GE11844@linux.vnet.ibm.com> (raw)

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

             reply	other threads:[~2008-08-15 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 19:31 Dhaval Giani [this message]
2008-09-04 23:03 ` Default values for cpuset.mems, cpus for children created Paul Menage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080815193132.GE11844@linux.vnet.ibm.com \
    --to=dhaval@linux.vnet.ibm.com \
    --cc=balbir@in.ibm.com \
    --cc=danms@us.ibm.com \
    --cc=libcg-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    --cc=pj@sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox