From: Tejun Heo <tj@kernel.org>
To: Jan Stancek <jstancek@redhat.com>
Cc: Veronika Kabatova <vkabatov@redhat.com>,
catalin marinas <catalin.marinas@arm.com>,
Memory Management <mm-qe@redhat.com>,
LTP List <ltp@lists.linux.it>,
CKI Project <cki-project@redhat.com>,
cgroups@vger.kernel.org, Will Deacon <will@kernel.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: ❌ FAIL: Test report for kernel?5.7.0-rc5-51f14e2.cki (arm-next)
Date: Wed, 13 May 2020 11:51:14 -0400 [thread overview]
Message-ID: <20200513155114.GF16815@mtj.duckdns.org> (raw)
In-Reply-To: <1039472143.12305448.1589384415559.JavaMail.zimbra@redhat.com>
On Wed, May 13, 2020 at 11:40:15AM -0400, Jan Stancek wrote:
> In LTP issue above it was clear that memory controller is in use.
> Here it looks like some lingering reference to cpuset controller
> that can't be seen in sysfs.
>
> It's triggered by podman tests actually:
> 1. run podman tests
> 2. mount -t cgroup -ocpuset cpuset /mnt/cpuset/ -> EBUSY
>
> # mount | grep cgroup
> cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel)
>
> # grep cpuset -r /sys/fs/cgroup/
> /sys/fs/cgroup/cgroup.controllers:cpuset cpu io memory pids
>
> And yet, v1 cgroup fails to mount:
>
> # mount -t cgroup -ocpuset cpuset /mnt/cpuset/
> mount: /mnt/cpuset: cpuset already mounted or mount point busy.
While if a regression it may point to a newly introduced behavior, in
general, dynamically reassigning cgroup controllers to a different version
hierarchy after active use is not something fully supported. From cgroup2
documentation:
A controller can be moved across hierarchies only after the controller is
no longer referenced in its current hierarchy. Because per-cgroup
controller states are destroyed asynchronously and controllers may have
lingering references, a controller may not show up immediately on the v2
hierarchy after the final umount of the previous hierarchy. Similarly, a
controller should be fully disabled to be moved out of the unified
hierarchy and it may take some time for the disabled controller to become
available for other hierarchies; furthermore, due to inter-controller
dependencies, other controllers may need to be disabled too.
While useful for development and manual configurations, moving controllers
dynamically between the v2 and other hierarchies is strongly discouraged
for production use. It is recommended to decide the hierarchies and
controller associations before starting using the controllers after system
boot.
Thanks.
--
tejun
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2020-05-13 15:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 3:01 ❌ FAIL: Test report for kernel 5.7.0-rc5-51f14e2.cki (arm-next) CKI Project
2020-05-13 6:12 ` Will Deacon
2020-05-13 10:19 ` Veronika Kabatova
2020-05-13 15:40 ` Jan Stancek
2020-05-13 15:51 ` Tejun Heo [this message]
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=20200513155114.GF16815@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=cgroups@vger.kernel.org \
--cc=cki-project@redhat.com \
--cc=jstancek@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=ltp@lists.linux.it \
--cc=mm-qe@redhat.com \
--cc=vkabatov@redhat.com \
--cc=will@kernel.org \
/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