runc icon indicating copy to clipboard operation
runc copied to clipboard

add numa_stat for cgroup v2

Open victoryang00 opened this issue 1 year ago • 2 comments

Add the parsing for /sys/fs/cgroup/memory.numa_stat and add to the corresponding PageUsageByNUMA.

victoryang00 avatar Jul 21 '23 04:07 victoryang00

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.

lifubang avatar Jul 27 '23 10:07 lifubang

Added memory tests.

victoryang00 avatar Jul 28 '23 05:07 victoryang00