ective=1-2)
Setting cpus to 1 for A would result in an -EBUSY error, but
with this patch it will work as expected:
/sys/fs/cgroup/A (cpus=1, cpus.effective=1)
/sys/fs/cgroup/A/B (cpus=3-4,cpus.effective=1)
This also applies in a similar manner on cpuset.mems.
Signed-off-by: O
. It also makes it possible to
disable cpuset for a populated cgroup (or one of its ancestors), without
having to manually write the effective value into cpuset.cpus.
This also applies in a similar manner on cpuset.mems.
Signed-off-by: Odin Ugedal
---
kernel/cgroup/cpuset.c | 7 ---
1 file
they are helpful.
Odin Ugedal (2):
cgroup2: cpuset: Disable subset validation on set
cgroup2: cpuset: Always allow setting empty cpuset
kernel/cgroup/cpuset.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
--
2.31.0
Hi,
> If there are cases where the "start bandwidth" matters, I think there is need
> to expose the
> "start bandwidth" explicitly too. However, I doubt the existence of such
> cases from my view
> and the two examples above.
Yeah, I don't think there will be any cases where users will be
Hi! This looks quite useful, but I have a few quick thoughts. :)
I know of a lot of people who would love this (especially some
Kubernetes users)! I really like how this allow users to use cfs
in a more dynamic and flexible way, without interfering with those
who like the enforce strict quotas.
Update PSI file description in cgroup-v2 docs to reflect the current
implementation.
Signed-off-by: Odin Ugedal
---
Documentation/admin-guide/cgroup-v2.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/admin-guide/cgroup-v2.rst
b/Documentation/admin
implementation tries to lock a NULL ptr,
resulting in a crash.
Can be triggered by running this as root:
$ tee /sys/fs/cgroup/cpu.pressure <<< "some 1 100"
Signed-off-by: Odin Ugedal
Reviewed-by: Suren Baghdasaryan
---
kernel/cgroup/cgroup.c | 4 +++-
1 file changed,
Reviewed-by tag on the original patch (Suren)
- Updated patch title
- Added a separate patch to update doc
Odin Ugedal (2):
cgroup: fix psi monitor for root cgroup
cgroup: update PSI file description in docs
Documentation/admin-guide/cgroup-v2.rst | 6 +++---
kernel/cgroup/cgroup.c
implementation tries to lock a NULL ptr,
resulting in a crash.
Can be triggered by running this as root:
$ tee /sys/fs/cgroup/cpu.pressure <<< "some 1 100"
Signed-off-by: Odin Ugedal
---
kernel/cgroup/cgroup.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Change "failcntfile" to "failcnt file"
Signed-off-by: Odin Ugedal
---
mm/hugetlb_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c
index 68c2f2f3c05b..3b004028c490 100644
--- a/mm/hugetlb_cgroup.c
+++ b
The config value used in the if was changed in
b433dce056d3814dc4b33e5a8a533d6401ffcfb0, but the comment on the
corresponding end was not changed.
Signed-off-by: Odin Ugedal
---
arch/arm64/mm/mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/mm/mmu.c b/arch
11 matches
Mail list logo