Giuseppe Scrivano

Results 34 issues of Giuseppe Scrivano

change the conversion formula from cgroup v1 to cgroup v2: https://github.com/systemd/systemd/blob/5da476ac7728b91ad3a49c1b126b3559b4fbeed8/src/core/cgroup.c#L1598-L1611 ```c static uint64_t cgroup_cpu_shares_to_weight(uint64_t shares) { return CLAMP(shares * CGROUP_WEIGHT_DEFAULT / CGROUP_CPU_SHARES_DEFAULT, CGROUP_WEIGHT_MIN, CGROUP_WEIGHT_MAX); } static uint64_t cgroup_cpu_weight_to_shares(uint64_t weight)...

Implement the same change present in runc since version 1.12 (https://github.com/opencontainers/runc/pull/3967). Currently, when users attempts to clear locked flags (such as using rw to clear the MS_RDONLY flag), crun silently...

documentation
Vulkan
ggml