Files
cgroups-rs/tests
Dov Murik 0c908cddf8 memory: set_kmem_limit: ignore Unsupported error
Setting (writing into) `memory.kmem.limit_in_bytes` is not supported in
Linux kernel >= 5.16 (see kernel commit 58056f77502: "memcg, kmem:
further deprecate kmem.limit_in_bytes"):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=58056f77502

If the write call in `set_kmem_limit()` returns EOPNOTSUPP, log a
warning message but ignore the error (do nothing).

Add a unit-test for `set_kmem_limit` in cgroups v1.

Fix #81

Signed-off-by: Dov Murik <dov.murik1@il.ibm.com>
2022-06-27 08:29:40 +00:00
..
2021-03-03 13:44:29 +08:00
2020-12-21 15:46:30 +08:00
2021-11-11 11:20:49 +08:00
2021-03-03 13:44:29 +08:00
2022-04-28 16:36:57 +02:00
2021-03-03 13:44:29 +08:00
2021-06-30 19:07:56 +08:00