Commit 90668092 authored by Phil Elwell's avatar Phil Elwell
Browse files

cgroup: Fix automatic disabling of cgroup "memory"

Some Raspberry Pis have limited RAM and most users won't use the
cgroup memory support so it is disabled by default. The previous
implementation relied on the memory cgroup being encountered first,
which is not guaranteed to be the case. Change the implementation
to be registration-order-agnostic.

See: https://github.com/raspberrypi/issues/1950



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent f2566036
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment