#include "abstraction-map.h"
const struct cgroup_abstraction_map cgroup_v1_to_v2_map[] = {
+ {cgroup_convert_int, "cpu.shares", (void *)1024, "cpu.weight", (void *)100},
};
const int cgroup_v1_to_v2_map_sz = sizeof(cgroup_v1_to_v2_map) /
sizeof(cgroup_v1_to_v2_map[0]);
const struct cgroup_abstraction_map cgroup_v2_to_v1_map[] = {
+ {cgroup_convert_int, "cpu.weight", (void *)100, "cpu.shares", (void *)1024},
};
const int cgroup_v2_to_v1_map_sz = sizeof(cgroup_v2_to_v1_map) /
sizeof(cgroup_v2_to_v1_map[0]);