lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830803111936jd940deam8584bc971c3b6f41@mail.gmail.com>
Date:	Tue, 11 Mar 2008 19:36:36 -0700
From:	"Paul Menage" <menage@...gle.com>
To:	"Max Krasnyansky" <maxk@...lcomm.com>
Cc:	"Paul Jackson" <pj@....com>, "Ingo Molnar" <mingo@...e.hu>,
	"Peter Zijlstra" <a.p.zijlstra@...llo.nl>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: boot cgroup questions

On Tue, Mar 11, 2008 at 7:34 PM, Max Krasnyansky <maxk@...lcomm.com> wrote:
>
>  Suppose we were to do it from kernel. What's the right way to create a cgroup
>  without mounting a cgroupfs ?

There isn't really a way, but you could always kern_mount() a
filesystem inside the kernel.

>  I just want to play with it. There are a couple of advantages that I see for
>  doing it from kernel. We can move 'kthreadd' and idle threads into the 'boot'
>  cgroup early on and therefor later on won't even have to iterate through the
>  tasks and stuff.

Would this be done based on some boot commandline option? I don't
think you'd want to do it unconditionally.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ