Skip to content
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

[WIP] Memory cgroup v2 #95

Closed
wants to merge 106 commits into from
Closed

[WIP] Memory cgroup v2 #95

wants to merge 106 commits into from

Commits on Jun 18, 2021

  1. time to test

    tsturzl committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    0e2972e View commit details
    Browse the repository at this point in the history
  2. hella tests

    tsturzl committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    c0cb444 View commit details
    Browse the repository at this point in the history
  3. time to test

    tsturzl committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    57a080e View commit details
    Browse the repository at this point in the history
  4. hella tests

    tsturzl committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    f099a34 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8a59a72 View commit details
    Browse the repository at this point in the history
  6. Add cgroup v1 freezer controller

    lizhemingi authored and baiqing committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    6a38a5d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    25bd08b View commit details
    Browse the repository at this point in the history
  8. Merge pull request #96 from yjuba/add-cpuacct-test

    Add a test for applying CpuAcct.
    utam0k authored Jun 18, 2021
    Configuration menu
    Copy the full SHA
    b7d6390 View commit details
    Browse the repository at this point in the history
  9. improve build time in CI

    utam0k committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    5714fc4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    181518b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    16687c4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5f36c6e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f9b7229 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    427e726 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    373c457 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e207735 View commit details
    Browse the repository at this point in the history
  17. Fix wrong mapping

    Furisto committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    8e1621e View commit details
    Browse the repository at this point in the history
  18. Clippy and fmt

    Furisto committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    bc7fd5d View commit details
    Browse the repository at this point in the history
  19. Merge pull request #93 from duduainankai/add-freezer

    Add cgroup v1 freezer controller
    Furisto authored Jun 18, 2021
    Configuration menu
    Copy the full SHA
    58e33bb View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. Configuration menu
    Copy the full SHA
    726c06c View commit details
    Browse the repository at this point in the history
  2. Address review comments

    - should_use_rootless doesn't need Result type
    - add warning regarding current rootless limitations
    - make lookup_map_binary more concise
    Furisto committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    4909c3b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #98 from Furisto/rootless

    Experimental support for rootless containers
    utam0k authored Jun 19, 2021
    Configuration menu
    Copy the full SHA
    1afde70 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2021

  1. Add unit tests for tty module

    Reuse tmpdir implementation from cgroup
    Siva Renganathan committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    a0da537 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b209181 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #102 from constreference/tty

    Add unit tests for tty module
    utam0k authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    4f6e8e9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #101 from Furisto/info-ex

    Extend info cmd with version and os
    Furisto authored Jun 20, 2021
    Configuration menu
    Copy the full SHA
    2f3d806 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    4e4dcb8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #104 from utam0k/fix-clippy

    Use `assert!` instead of `assert_eq!` when comparing a boolean.
    Furisto authored Jun 21, 2021
    Configuration menu
    Copy the full SHA
    f9d5458 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    8abb9f5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #46 from nimrodshn/add_support_for_systemd_cgroups

    Add support for systemd managed cgroups
    Furisto authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    37bcf46 View commit details
    Browse the repository at this point in the history
  3. update README.md

    utam0k committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    886ec5d View commit details
    Browse the repository at this point in the history
  4. Merge pull request #105 from utam0k/update-README

    update README.md
    Furisto authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    6304a6d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. Configuration menu
    Copy the full SHA
    68ca2ae View commit details
    Browse the repository at this point in the history
  2. Merge pull request #107 from nimrodshn/fix_readme

    Fix README.md Fedora & Centos instructions
    utam0k authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    a105e11 View commit details
    Browse the repository at this point in the history
  3. Add list command

    Furisto committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    9d785aa View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Merge pull request #108 from Furisto/list-cmd

    Add list command
    utam0k authored Jun 24, 2021
    Configuration menu
    Copy the full SHA
    7578bac View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. fix conflicts.

    utam0k committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    c64522e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #97 from utam0k/actions-cache

    improve build time in CI
    utam0k authored Jun 25, 2021
    Configuration menu
    Copy the full SHA
    ec3f32e View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2021

  1. Configuration menu
    Copy the full SHA
    cd38390 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #110 from utam0k/refactor-cli-commands

    split the subcommands into their own files.
    Furisto authored Jun 26, 2021
    Configuration menu
    Copy the full SHA
    ee4e3a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b43aae0 View commit details
    Browse the repository at this point in the history
  4. Shorten names

    Furisto committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    8f872d7 View commit details
    Browse the repository at this point in the history
  5. Update README.md

    Change `dnf` to `apt-get` for Debian based systems
    bkochendorfer authored Jun 26, 2021
    Configuration menu
    Copy the full SHA
    80e9670 View commit details
    Browse the repository at this point in the history
  6. Address review comments

    - Add comments for functions
    - Use better naming in systemd cgroup manager
    Furisto committed Jun 26, 2021
    Configuration menu
    Copy the full SHA
    fcfff8b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #112 from bkochendorfer/patch-1

    Update README.md
    Furisto authored Jun 26, 2021
    Configuration menu
    Copy the full SHA
    295f68e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2021

  1. Merge pull request #111 from Furisto/cg-add

    Seperate adding tasks to cgroups and applying resource restrictions
    utam0k authored Jun 27, 2021
    Configuration menu
    Copy the full SHA
    0f91dca View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    99342d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2021

  1. Merge pull request #114 from Furisto/cg-only-required

    Require only requested cgroups to be present
    utam0k authored Jun 29, 2021
    Configuration menu
    Copy the full SHA
    843c75a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b1bfa4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #115 from TinySong/main

    force delete container if it is running or created
    utam0k authored Jun 29, 2021
    Configuration menu
    Copy the full SHA
    86011af View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. Configuration menu
    Copy the full SHA
    d71833f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #116 from TinySong/main

    add comments in intergration_test.sh about test case that runc no paas
    utam0k authored Jun 30, 2021
    Configuration menu
    Copy the full SHA
    f583d4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61758bd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #117 from utam0k/refactor-create-remove-unnecessar…

    …y-clone
    
    remove unnecessary clone() in create.rs
    Furisto authored Jun 30, 2021
    Configuration menu
    Copy the full SHA
    d68e49e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2021

  1. Configuration menu
    Copy the full SHA
    3d509e0 View commit details
    Browse the repository at this point in the history
  2. Rename command

    Furisto committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    8a13f82 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e7b13c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Ensure file info is captured

    Furisto committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    a46faff View commit details
    Browse the repository at this point in the history
  2. Modularize create code

    Furisto committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    a387a43 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. Configuration menu
    Copy the full SHA
    6c1de20 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #119 from TinySong/main

    add cgroup v2 pids controller
    utam0k authored Jul 3, 2021
    Configuration menu
    Copy the full SHA
    c22f73e View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2021

  1. Configuration menu
    Copy the full SHA
    123c2f6 View commit details
    Browse the repository at this point in the history
  2. add tests for the signal.

    utam0k committed Jul 4, 2021
    Configuration menu
    Copy the full SHA
    6e5eee0 View commit details
    Browse the repository at this point in the history
  3. Split container builder into dedicated init and tenant builders

    The current monolithic builder provides options that should only be called
    during init and not when creating a tenant and vice versa. This puts the
    burden on the user of the builder to know which methods are safe to call.
    Now the ContainerBuilder can be used to specify options that are common to
    both scenarios and afterwards as_init/as_tenant can be called to provide
    scenario specific options. This also simplifies the whole "if init then else"
    branching logic during container build.
    Furisto committed Jul 4, 2021
    Configuration menu
    Copy the full SHA
    53c9b73 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

  1. Add documentation

    Furisto committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    5146d0e View commit details
    Browse the repository at this point in the history
  2. Remove tests

    Furisto committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    9be94d9 View commit details
    Browse the repository at this point in the history
  3. Renaming

    Furisto committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    1643dd2 View commit details
    Browse the repository at this point in the history
  4. Fix kill cmd test failures

    Furisto committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    d2ff085 View commit details
    Browse the repository at this point in the history
  5. Execute doc tests

    Furisto committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    0eaa906 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Merge pull request #122 from utam0k/refactor-signal

    make String to signal conversion more simplify by using a Trait.
    utam0k authored Jul 6, 2021
    Configuration menu
    Copy the full SHA
    0b8d378 View commit details
    Browse the repository at this point in the history
  2. Review feedback and fmt

    Furisto committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    e76360b View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Reduce binary size

    Furisto committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    3dd98c5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #124 from Furisto/release

    Reduce size of binary
    utam0k authored Jul 7, 2021
    Configuration menu
    Copy the full SHA
    59d9b83 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Add cgroup v2 freezer controller

    Zheming Li committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    d16136f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #123 from duduainankai/add-freezer-v2

    Add cgroup v2 freezer controller
    utam0k authored Jul 8, 2021
    Configuration menu
    Copy the full SHA
    474ba71 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. Merge pull request #121 from Furisto/builder

    Modularize container creation
    utam0k authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    67972fe View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Configuration menu
    Copy the full SHA
    7e02cb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aadfe59 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #128 from TinySong/cgroupv2-io-controller

    Cgroupv2 io controller
    utam0k authored Jul 10, 2021
    Configuration menu
    Copy the full SHA
    3ebbc27 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #127 from utam0k/cargo-clippy-2

    fix the warnings shown by cargo clippy
    nimrodshn authored Jul 10, 2021
    Configuration menu
    Copy the full SHA
    5633ff8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. Add code format check in CI

    Zheming Li committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    599676e View commit details
    Browse the repository at this point in the history
  2. format code to pass CI check

    Zheming Li committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    f8b08c0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #129 from duduainankai/add-format-check-ci

    Add format check ci
    utam0k authored Jul 11, 2021
    Configuration menu
    Copy the full SHA
    d87020c View commit details
    Browse the repository at this point in the history
  4. Fix spec path in delete

    Zheming Li committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    92a5a11 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #130 from duduainankai/fix-path-in-delete

    Fix spec path in delete
    Furisto authored Jul 11, 2021
    Configuration menu
    Copy the full SHA
    4d86b25 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    560247c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    699df64 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. Configuration menu
    Copy the full SHA
    d3e2f57 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #133 from duduainankai/fix-tmp-dir-in-test

    Fix same tmp dir in freezer v2 tests
    utam0k authored Jul 12, 2021
    Configuration menu
    Copy the full SHA
    2a7f907 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #131 from YJDoc2/comment-capabilities

    Document capabilities rs and refactor its drop_privileges function
    utam0k authored Jul 12, 2021
    Configuration menu
    Copy the full SHA
    0c40908 View commit details
    Browse the repository at this point in the history
  4. cgroupsv2 hugetlb

    kmpzr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    21a7686 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4549309 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1686c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Document Info module

    YJDoc2 committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    6be6769 View commit details
    Browse the repository at this point in the history
  2. Update doc-draft.md

    YJDoc2 committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    e5119a0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #136 from YJDoc2/main

    Document Info module
    utam0k authored Jul 13, 2021
    Configuration menu
    Copy the full SHA
    886e9e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. Merge pull request #135 from 0xdco/cgroups-v2-hugetlb

    cgroupsv2 hugetlb
    utam0k authored Jul 14, 2021
    Configuration menu
    Copy the full SHA
    d66bc1b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Configuration menu
    Copy the full SHA
    ac7d1c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cbdbdc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6932e08 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. time to test

    tsturzl committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    287de24 View commit details
    Browse the repository at this point in the history
  2. hella tests

    tsturzl committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    1efdefc View commit details
    Browse the repository at this point in the history
  3. time to test

    tsturzl committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    314a7a9 View commit details
    Browse the repository at this point in the history
  4. hella tests

    tsturzl committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    8cba204 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    db0b203 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ac1254c View commit details
    Browse the repository at this point in the history