runc
runc copied to clipboard
add numa_stat for cgroup v2
Add the parsing for /sys/fs/cgroup/memory.numa_stat
and add to the corresponding PageUsageByNUMA
.
Thanks for your contribution. NumaStat
has been implemented in cgroup v1, I think it's reasonable to implement it in cgroup v2. Could you please add a unit test case in memory_test.go
? Thanks.
Added memory tests.