-
Notifications
You must be signed in to change notification settings - Fork 62
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
cpuset: fix the issue of cannot add task if cpus and mems empty in cp… #11
Open
lifupan
wants to merge
100
commits into
levex:master
Choose a base branch
from
lifupan:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Add SPDX-License-Identifier for all existing codes. Fixes: levex#2 Signed-off-by: bin liu <[email protected]>
add SPDX-License-Identifier for all source
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
Signed-off-by: bin liu <[email protected]>
add cgroup v2 support
cfs_quota can be set to -1 to indicate no limit Fixes: levex#5 Signed-off-by: bin liu <[email protected]>
Errors cause should be shared to let anyhow to wrap it. Fixes: levex#7 Signed-off-by: bin liu <[email protected]>
cpu: change cfs_quota from u64 to i64
…-cause errors: add sync marker to error cause
c_char is equal to i8 on x86, but it is equal to u8 on arm arch, so we need to use type c_char instead of i8 to avoid compiling error. Fixes: levex#9 Signed-off-by: zhanghj <[email protected]>
…-aarch64 lib: fix compiling error for type i8 in aarch64 environment
liubin
added a commit
to liubin/cgroups-rs
that referenced
this pull request
Sep 22, 2020
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
liubin
added a commit
to liubin/cgroups-rs
that referenced
this pull request
Sep 22, 2020
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
liubin
added a commit
to liubin/cgroups-rs
that referenced
this pull request
Sep 22, 2020
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
liubin
added a commit
to liubin/cgroups-rs
that referenced
this pull request
Sep 22, 2020
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
liubin
added a commit
to liubin/cgroups-rs
that referenced
this pull request
Sep 22, 2020
Fixes: levex#11 Signed-off-by: bin liu <[email protected]>
Display readme on the crate's page. Signed-off-by: Tim Zhang <[email protected]>
Add field homepage and readme for Cargo.toml
It should remove the child cgroups recursively and then remove the parent cgroup, otherwise, it would remove failed. Signed-off-by: fupan.lfp <[email protected]>
cgroup: fix the issue of remove cgroup
The procinfo library gets all the mount info, but we don't need all the mount info. Signed-off-by: quanweiZhou <[email protected]>
cgroup: get the mount info without procinfo
Bump version from 0.2.2 to 0.2.3 Signed-off-by: Tim Zhang <[email protected]>
release: v0.2.3
to pull in nix-rust/nix#1372 and get statfs MAGIC constants on s390x. Additionally, fork() calls in tests now have to be marked unsafe. Fixes: #37 Signed-off-by: Jakob Naucke <[email protected]>
Update nix to 0.20.0
For older kernels, it is possible that there is no hierarchical numa stats. Fixes: #36 Signed-off-by: Peng Tao <[email protected]>
memory: fix panic when no hierarchical numa stat is available
Bump version from 0.2.3 to 0.2.4 Signed-off-by: Jakob Naucke <[email protected]>
Where the oom control fields might not be present. Fixes: #36 Signed-off-by: Peng Tao <[email protected]>
memory: fix parse_oom_control panic on older kernels
Fix clippy warnings. Signed-off-by: Tim Zhang <[email protected]>
Because the existing warnings are all fixed. Signed-off-by: Tim Zhang <[email protected]>
Fix clippy warnings
release: v0.2.4
Clone is useful. Signed-off-by: Tim Zhang <[email protected]>
Impl Clone for hierarchies:V1, hierarchies:V2
Bump version to 0.2.5 Signed-off-by: Tim Zhang <[email protected]>
release: v0.2.5
There are new lints are added in clippy for rust 1.52 Signed-off-by: Tim Zhang <[email protected]>
cargo-clippy has moved the upper_case_acronyms lint to pedantic(removed from the default list), but we need the lint to keep names consistent and follow the rust naming conventions. Signed-off-by: Tim Zhang <[email protected]>
Fix clippy for rust 1.52
When reading from the freezer file, it should trim it first, and the string may container an '\n'. Fixes: #48 Signed-off-by: fupan.lfp <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…uset
copy_parent_if_needed makes sure that the parent directory of
current is created and populated with the proper cpus and mems
files copied from it's parent.
Signed-off-by: fupan.lfp [email protected]