aboutsummaryrefslogtreecommitdiff
path: root/libs/libcgroup/patches
Commit message (Collapse)AuthorAge
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* libcgroup: don't build testsRosen Penev2020-08-13
| | | | | | Speeds up compile. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libcgroup: fix compile with newer muslRosen Penev2020-03-29
| | | | | | | | | | | | | | | | | | | The code uses __BEGIN/END_DECLS from glibc's features.h, actually sys/cdefs.h, which is deprecated. Get rid of it. Fixed license information. Fixed musl-fts dependency. It's only valid for musl. Removed autoreconf as the patch was removed. Added PKG_INSTALL for consistency between packages. Added PKG_BUILD_PARALLEL for faster compilation. Small cleanups for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libcgroup: Added new package.Daniel Danzberger2019-02-16
libcgroup also contains cgroup-utils, which make it very handy to work with user defined cgroups settings. It let's you define cgroups in a json like config file and execute them on the cmdline. Example: /etc/cgroup.conf: ---------------- group lowbob { cpu { cpu.shares="1"; } cpuacct { cpuset.cpu = "0" } memory { memory.limit_in_bytes = 10m; } blkio { ... } ... } ---------------- cgconfigparser -l /etc/cgroup.conf cgexec -g cpu,memory,blkio:/lowbob cpuintense-task Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>