mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Menage <menage@google.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [RFC][PATCH] NOOP cgroup subsystem
Date: Thu, 8 Jan 2009 22:37:10 -0800	[thread overview]
Message-ID: <6599ad830901082237l664fb403y386482a577ed185e@mail.gmail.com> (raw)
In-Reply-To: <4966EEDD.5070204@cn.fujitsu.com>

On Thu, Jan 8, 2009 at 10:29 PM, Li Zefan <lizf@cn.fujitsu.com> wrote:
>
> Agreed, but it can't work by just removing the checking in cgroup mount option,

Right - it's more complicated than that. There are some places in the
code that rely on the fact that every hierarchy currently has at least
one subsystem (anything that uses find_first_subsystem() for example)
and we'd need to work around that.

Paul

> I just tried it:
>
> static int parse_cgroupfs_options(char *data,
>                                     struct cgroup_sb_opts *opts)
> {
>        ...
> -       if (!opts->subsys_bits)
> -               return -EINVAL;
>        ...
> }
>
>

  reply	other threads:[~2009-01-09  6:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  5:32 KAMEZAWA Hiroyuki
2009-01-09  6:14 ` Li Zefan
2009-01-09  6:24   ` KAMEZAWA Hiroyuki
2009-01-09  6:27     ` Paul Menage
2009-01-09  6:26 ` Paul Menage
2009-01-09  6:29   ` Li Zefan
2009-01-09  6:37     ` Paul Menage [this message]
2009-01-09  6:44       ` Li Zefan
2009-01-09  7:22         ` KAMEZAWA Hiroyuki
2009-01-09 21:15         ` Paul Menage
2009-01-09  6:32   ` KAMEZAWA Hiroyuki
2009-01-16  2:20     ` Matthew Helsley
2009-01-16  2:45       ` KAMEZAWA Hiroyuki
2009-01-16  3:02         ` KAMEZAWA Hiroyuki
2009-01-20  1:52       ` Paul Menage
2009-01-20  3:07         ` KAMEZAWA Hiroyuki
2009-01-21  2:36           ` Matt Helsley
2009-01-21  3:16           ` Paul Menage
2009-01-09  6:34 ` Daisuke Nishimura

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=6599ad830901082237l664fb403y386482a577ed185e@mail.gmail.com \
    --to=menage@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.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

all inboxes | Powered by JetHome®