criyle
|
d32acd7591
|
cgroup&container: add ability to utilize cgroup fd with clone3
#13
|
2025-02-20 20:29:20 +00:00 |
|
criyle
|
f6f057edf9
|
cgroup: use rmdir to delete cgroup
|
2025-02-20 04:19:59 +00:00 |
|
criyle
|
0b6b557947
|
cgroup: add pids.peak for cgroup v2 kernel >= 6.1
|
2025-02-20 01:51:59 +00:00 |
|
criyle
|
3fb1ccd890
|
pkg/cgroup: add enabled controler check for v2
|
2025-01-26 00:38:08 -05:00 |
|
BoYanZh
|
6c726c9b94
|
fix(pkg/cgroup): nil pointer dereference
when `build` is `V2.New`, `cg` will be `nil` if it is returned from `if !os.IsExist(err) {`
|
2025-01-10 03:42:03 -05:00 |
|
criyle
|
598c606a99
|
deps: upgrade to rand/v2
|
2024-04-05 04:24:10 +00:00 |
|
criyle
|
f6274fd54c
|
cgroup: rename types to remove stutters
|
2024-02-05 08:53:37 +00:00 |
|
criyle
|
ed93876f8c
|
*: fix typos
|
2024-02-03 16:19:58 +00:00 |
|
criyle
|
231f3cb58f
|
cgroup: refactor to support creating child cgroup directly
|
2023-11-09 10:21:07 +00:00 |
|
Nguyen Thanh Quang
|
656b493a3f
|
use memory.peak for cgroup v2 as an alternative to max_usage_in_bytes
|
2023-08-04 23:12:23 +07:00 |
|
criyle
|
ca60fcad98
|
*: fix macOS build for go1.18
|
2022-04-03 02:45:53 -07:00 |
|
criyle
|
2f85a420f9
|
cgroup: fix v1 set cpu bandwidth
|
2022-03-01 00:00:59 -08:00 |
|
criyle
|
c6519b09ec
|
cgroup: add support of cgroup v2 nesting
|
2021-12-25 23:04:01 +00:00 |
|
criyle
|
5e5b00688a
|
cgroup: implement cgroup v2
|
2021-12-24 10:42:42 +00:00 |
|
criyle
|
2889743b71
|
cgroup: initialize support for v2 implementation
|
2021-12-23 20:38:31 -08:00 |
|
criyle
|
ebab07ec35
|
deprecate io/ioutil
|
2021-02-24 00:00:51 -08:00 |
|
criyle
|
464c5ac932
|
Backwards compatibility for older kernels >= 3.10
|
2021-01-21 00:20:57 -08:00 |
|
criyle
|
3c77bf81d1
|
Fix cgroup potential null pointer
|
2020-12-17 22:55:48 -08:00 |
|
criyle
|
5343e365c3
|
Add cpu cgroup support
|
2020-12-12 21:28:41 -08:00 |
|
criyle
|
928a0a4631
|
Fix typo for cpuacct
|
2020-12-06 18:33:16 -08:00 |
|
criyle
|
6d71f9dc4b
|
Add support to cpuset cgroup
|
2020-12-06 17:48:10 -08:00 |
|
criyle
|
5e6fcd1d86
|
Split fork child & add unit tests
|
2020-09-06 00:11:52 -07:00 |
|
criyle
|
b6036eb830
|
Remove libseccomp dependency
|
2020-05-15 17:13:13 -04:00 |
|
criyle
|
cfa40fa36a
|
update dependencies
|
2020-03-16 18:27:10 -04:00 |
|
criyle
|
4f2257a187
|
Remove types pkg & update documents
- move types pkg into runner
- add documentations for cgroup & container
- add benchmakr for cgroup & container
|
2020-03-02 03:14:13 -05:00 |
|
criyle
|
46b52374a5
|
add some badge to README.md
|
2020-03-01 21:04:46 -05:00 |
|
criyle
|
cf5ebfb3ef
|
Handle potential wait4 EINTR & add memory cgroup
|
2020-03-01 01:34:40 -05:00 |
|
criyle
|
53a90d3a09
|
Allow cgroup reuse & handler EINTR error
|
2020-02-29 03:01:04 -05:00 |
|
criyle
|
33a7b2b603
|
remove unnecessary error wrap
|
2020-02-19 20:30:35 -05:00 |
|
criyle
|
a4c78dcf5d
|
update documentations
|
2020-02-18 21:55:32 -05:00 |
|
criyle
|
348ed481d3
|
add ability to omit sub-cgroup if not exists
|
2019-10-24 01:31:21 -07:00 |
|
criyle
|
998ffb02c0
|
fix cgroup const
|
2019-09-09 01:08:29 -07:00 |
|
criyle
|
ebab7514d1
|
change package naming
|
2019-08-29 00:27:49 -07:00 |
|