-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cgroup: support to set threaded mode in cgroup v2 #91
Conversation
/test |
07272da
to
f2d86e7
Compare
31ff6d3
to
989bb3f
Compare
b039b55
to
678dac2
Compare
Has cgroup v2 threaded mode supported in the upstream cgroup-rs repository? |
May I ask which upstream cgroups-rs repository you are referring to? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I have some questions and comments:
levex/cgroup-rs, which this repository is forked from? |
https://github.com/levex/cgroups-rs and https://github.com/ordovicia/controlgroup-rs of fork from levex has not been updated for a long time, and now the latest cgroups-rs library should be under kata-containers. |
OK! 👍 |
99ad423
to
bc724f4
Compare
b5c1489
to
7560915
Compare
@lifupan @YushuoEdge @gaohuatao-1 I have processed all the comments, please help me to review again. Thanks. |
7560915
to
4c5b6ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yaoyinnan , a few more comments.
224a7a1
to
1310090
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
47a75b2
to
574bcb0
Compare
Support to set threaded mode in cgroup v2. The premise of switching to threaded mode is that only the cgroup of cpuset, cpu and pids is supported. Fixes: kata-containers#90 Signed-off-by: yaoyinnan <yaoyinnan@foxmail.com>
574bcb0
to
c9d02af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
To include patches kata-containers#91, kata-containers#94, kata-containers#98, kata-containers#99 Signed-off-by: Tim Zhang <tim@hyper.sh>
@yaoyinnan This patch has been released in version 0.2.12, thanks |
Bump the major version for API changed in kata-containers#91. Signed-off-by: Tim Zhang <tim@hyper.sh>
Support to set threaded mode in cgroup v2. The premise of switching to threaded mode is that only the cgroup of cpuset, cpu and pids is supported.
Fixes: #90
Signed-off-by: yaoyinnan yaoyinnan@foxmail.com