aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2019-08-02 21:49:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-08-03 07:02:01 -0700
commitb59b1baab789eacdde809135542e3d4f256f6878 (patch)
tree314ef0fa61ca3814e011a0c33792b92bc945c409 /ipc
parentmm/memory_hotplug.c: remove unneeded return for void function (diff)
downloadlinux-dev-b59b1baab789eacdde809135542e3d4f256f6878.tar.xz
linux-dev-b59b1baab789eacdde809135542e3d4f256f6878.zip
cgroup: kselftest: relax fs_spec checks
On my laptop most memcg kselftests were being skipped because it claimed cgroup v2 hierarchy wasn't mounted, but this isn't correct. Instead, it seems current systemd HEAD mounts it with the name "cgroup2" instead of "cgroup": % grep cgroup /proc/mounts cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 I can't think of a reason to need to check fs_spec explicitly since it's arbitrary, so we can just rely on fs_vfstype. After these changes, `make TARGETS=cgroup kselftest` actually runs the cgroup v2 tests in more cases. Link: http://lkml.kernel.org/r/20190723210737.GA487@chrisdown.name Signed-off-by: Chris Down <chris@chrisdown.name> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Tejun Heo <tj@kernel.org> Cc: Roman Gushchin <guro@fb.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions