linux/kernel/cgroup
Parav Pandit 39d3e7584a rdmacg: Added rdma cgroup controller
Added rdma cgroup controller that does accounting, limit enforcement
on rdma/IB resources.

Added rdma cgroup header file which defines its APIs to perform
charging/uncharging functionality. It also defined APIs for RDMA/IB
stack for device registration. Devices which are registered will
participate in controller functions of accounting and limit
enforcements. It define rdmacg_device structure to bind IB stack
and RDMA cgroup controller.

RDMA resources are tracked using resource pool. Resource pool is per
device, per cgroup entity which allows setting up accounting limits
on per device basis.

Currently resources are defined by the RDMA cgroup.

Resource pool is created/destroyed dynamically whenever
charging/uncharging occurs respectively and whenever user
configuration is done. Its a tradeoff of memory vs little more code
space that creates resource pool object whenever necessary, instead of
creating them during cgroup creation and device registration time.

Signed-off-by: Parav Pandit <pandit.parav@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-01-10 11:14:27 -05:00
..
cgroup-internal.h cgroup: move namespace code to kernel/cgroup/namespace.c 2016-12-27 14:49:09 -05:00
cgroup-v1.c cgroup: fix RCU related sparse warnings 2016-12-27 14:49:09 -05:00
cgroup.c cgroup: fix RCU related sparse warnings 2016-12-27 14:49:09 -05:00
cpuset.c cgroup: move cgroup files under kernel/cgroup/ 2016-12-27 14:49:05 -05:00
freezer.c cgroup: move cgroup files under kernel/cgroup/ 2016-12-27 14:49:05 -05:00
Makefile rdmacg: Added rdma cgroup controller 2017-01-10 11:14:27 -05:00
namespace.c cgroup: move namespace code to kernel/cgroup/namespace.c 2016-12-27 14:49:09 -05:00
pids.c cgroup: move cgroup files under kernel/cgroup/ 2016-12-27 14:49:05 -05:00
rdma.c rdmacg: Added rdma cgroup controller 2017-01-10 11:14:27 -05:00