mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Menage <menage@google.com>
To: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cpuset: allow empty cpu/node masks
Date: Tue, 19 Apr 2011 12:17:48 +0200	[thread overview]
Message-ID: <BANLkTimRV7STKcdWFXmmsQ+DLxN0bAnv3A@mail.gmail.com> (raw)
In-Reply-To: <20110419100739.8464.80475.stgit@localhost6>

On Tue, Apr 19, 2011 at 12:07 PM, Konstantin Khlebnikov
<khlebnikov@openvz.org> wrote:
>
> This aimed to fix attaching tasks to the newly created cgroups in hierarchies with
> cpuset subsystem. Cpuset always require initializing cpuset.cpus and cpuset.mems,
> because they are empty by default, this fact block task attaching with -ENOSPC.

You can set the cgroup.clone_children to 1 to get the parent masks
automatically copied into the child. So I don't think this patch is
needed.

Paul

  reply	other threads:[~2011-04-19 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19 10:07 Konstantin Khlebnikov
2011-04-19 10:17 ` Paul Menage [this message]
2011-04-19 11:08   ` Konstantin Khlebnikov
2011-04-19 11:47     ` Paul Menage
2011-04-19 12:17       ` Konstantin Khlebnikov

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=BANLkTimRV7STKcdWFXmmsQ+DLxN0bAnv3A@mail.gmail.com \
    --to=menage@google.com \
    --cc=khlebnikov@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome