Open Curl-Li opened 1 year ago
Hi @Curl-Li, welcome to mosn community, Please sign Contributor License Agreement!
After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.
Hi Curl, thanks for your PR, this is a large PR for holmes, I need more time to figure out them, and these changes seems very like automaxprocs/tree/master/internal/cgroups.
It seems to be a common solution, but I'm not sure whether it is related to the Golang version
Hi Curl, thanks for your PR, this is a large PR for holmes, I need more time to figure out them, and these changes seems very like automaxprocs/tree/master/internal/cgroups.
It seems to be a common solution, but I'm not sure whether it is related to the Golang version
I referenced part of automaxprocs's code and wrapped it. About issue of version, I tried golang1.9rc1 and golang1.19.1, both are working well.
LGTM. It seems standard modifications about CGroups v1/v2.
Thanks, I will take a deeper look when I have a long free time.
适配CGroupv2,兼容v1版本,暂未支持混用挂载