Prev: [PATCH] remove bogus #ifdef CONFIG_TRACE_IRQFLAGS_SUPPORT for debug_kmap_atomic()
Next: [pm] resume from s3 oops? (last checked on rc6)
From: Paul Menage on 13 May 2010 17:30 On Thu, May 13, 2010 at 1:36 PM, Lennart Poettering <mzxreary(a)0pointer.de> wrote: >> If you just want to track processes, mount a (named) hierarchy with no >> attached subsystems. > > Oh, that is possible? How would I do that? > > This certainly doesn't work: > > # mount waldo -t cgroup /tmp/xxxx -o defaults mount waldo -t cgroup /tmp/xxxx -o none,name=foo Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Lennart Poettering on 13 May 2010 20:00 On Fri, 14.05.10 02:37, Balbir Singh (balbir(a)linux.vnet.ibm.com) wrote: > > > Oh, that is possible? How would I do that? > > > > > > This certainly doesn't work: > > > > > > # mount waldo -t cgroup /tmp/xxxx -o defaults > > > > An neither does this: > > > > # mount waldo -t cgroup /tmp/xxxx -o name=systemd > > > > (the mount() syscall fails with EINVAL here, the other one fails with EBUSY) > > > > Can you try the command below > > mount -t cgroup cgroup -o none,name=hello /cgroup/ > > Works for me. That line certainly works, but unfortunately your own libcgroup completely ignores mount points like this. Meh. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Balbir Singh on 14 May 2010 01:50 * Lennart Poettering <mzxreary(a)0pointer.de> [2010-05-14 01:55:42]: > On Fri, 14.05.10 02:37, Balbir Singh (balbir(a)linux.vnet.ibm.com) wrote: > > > > > Oh, that is possible? How would I do that? > > > > > > > > This certainly doesn't work: > > > > > > > > # mount waldo -t cgroup /tmp/xxxx -o defaults > > > > > > An neither does this: > > > > > > # mount waldo -t cgroup /tmp/xxxx -o name=systemd > > > > > > (the mount() syscall fails with EINVAL here, the other one fails with EBUSY) > > > > > > > Can you try the command below > > > > mount -t cgroup cgroup -o none,name=hello /cgroup/ > > > > Works for me. > > That line certainly works, but unfortunately your own libcgroup > completely ignores mount points like this. Meh. > Lets fix it, we never thought of using named hierarchies, but it should not be too hard to fix. -- Three Cheers, Balbir -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Dhaval Giani on 14 May 2010 02:40 On Fri, May 14, 2010 at 1:55 AM, Lennart Poettering <mzxreary(a)0pointer.de> wrote: > On Fri, 14.05.10 02:37, Balbir Singh (balbir(a)linux.vnet.ibm.com) wrote: > >> > > Oh, that is possible? How would I do that? >> > > >> > > This certainly doesn't work: >> > > >> > > # mount waldo -t cgroup /tmp/xxxx -o defaults >> > >> > An neither does this: >> > >> > # mount waldo -t cgroup /tmp/xxxx -o name=systemd >> > >> > (the mount() syscall fails with EINVAL here, the other one fails with EBUSY) >> > >> >> Can you try the command below >> >> mount -t cgroup cgroup -o none,name=hello /cgroup/ >> >> Works for me. > > That line certainly works, but unfortunately your own libcgroup > completely ignores mount points like this. Meh. > That be my mistake. I missed this update to cgroups. A patch will be coming out pretty soon! Dhaval -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Peter Zijlstra on 14 May 2010 03:00
On Fri, 2010-05-14 at 11:13 +0530, Balbir Singh wrote: > I think the config options are the domains of the distributors Whoever runs a distro kernel anyway? This is LKML, we're kernel devs. > I am not sure why CONFIG_CGROUP=y is so bad, Peter, could you > elaborate? Because it adds code I don't use and adds to the compile overhead. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |