* cpuset filesystems - a (short) doubt
@ 2013-04-02 14:17 David Shwatrz
[not found] ` <CAJJAcocYoD2ZoUBXNa7jHMnhcwHBKNUKt5AKUUBkXH=-SRr5ZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: David Shwatrz @ 2013-04-02 14:17 UTC (permalink / raw)
To: cgroups-u79uwXL29TY76Z2rM5mHXA
Hi,
I have a question about cpuset filesystem - is it needed ?
In the cpuset example given in:
http://lxr.free-electrons.com/source/Documentation/cgroups/cgroups.txt
we do not use the cpuset filesystsm but the cgroup filesystsm.
(mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset)
On my distro, which uses systemd + cgroups:
mount | grep "type cpuset"
gives nothing.
On the other hands, mount | grep "type cgroup" | wc -l
gives: 9
I looked in the code of other subsystems (like blk cgroup and memcg -
memory control groups) and there is no filesystsm in the code; see
block/blk-cgroup.c
mm/memcontrol.c
so is the cpuset filesystsm really needed ?
DS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cpuset filesystems - a (short) doubt
[not found] ` <CAJJAcocYoD2ZoUBXNa7jHMnhcwHBKNUKt5AKUUBkXH=-SRr5ZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-04-03 3:52 ` Li Zefan
0 siblings, 0 replies; 2+ messages in thread
From: Li Zefan @ 2013-04-03 3:52 UTC (permalink / raw)
To: David Shwatrz; +Cc: cgroups-u79uwXL29TY76Z2rM5mHXA
On 2013/4/2 22:17, David Shwatrz wrote:
> Hi,
> I have a question about cpuset filesystem - is it needed ?
>
> In the cpuset example given in:
> http://lxr.free-electrons.com/source/Documentation/cgroups/cgroups.txt
> we do not use the cpuset filesystsm but the cgroup filesystsm.
> (mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset)
>
> On my distro, which uses systemd + cgroups:
> mount | grep "type cpuset"
> gives nothing.
>
> On the other hands, mount | grep "type cgroup" | wc -l
> gives: 9
>
> I looked in the code of other subsystems (like blk cgroup and memcg -
> memory control groups) and there is no filesystsm in the code; see
> block/blk-cgroup.c
> mm/memcontrol.c
>
> so is the cpuset filesystsm really needed ?
>
The cpuset filesystem is for backward compatibility.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-03 3:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 14:17 cpuset filesystems - a (short) doubt David Shwatrz
[not found] ` <CAJJAcocYoD2ZoUBXNa7jHMnhcwHBKNUKt5AKUUBkXH=-SRr5ZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-03 3:52 ` Li Zefan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.