RE: question about cgroupv2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Ma,

> Ah, it seems work, but I'm not sure.

>> Then, I executed:
>> # mount -t cgroup2 none /mnt

It should work. The thing is, according to my trials from the past, it could be that systemd triggers mounting of cgroup V1 controllers. When I made trials with cgroup v2, eventually I turned on to disros which do not run systemd (namely, it was Ubuntu. You can set Ubuntu not to use systemd, even in most recent Ubuntu systems, where systemd became the default).

What happens if you mount cgroup v2 now, after booting with cgroup_no_v1=all:
mount -t cgroup2 none /mnt

And then try to unmount cgroup v1 controllers like memory ? 
Do you see anything under /mnt?

And BTW (really a shameless plug), if you want to make experiments with the new 
cgroup v2 API, may I refer you to this article:
"Understanding the new control groups API",  March 2016
https://lwn.net/Articles/679786/

Regards,
Rami Rosen
Intel Corporation
��.n��������+%������w��{.n������.����n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux