Added user configuration option to enable/disable RDMA resource tracking
feature of device cgroup as sub module.

Signed-off-by: Parav Pandit <pandit.pa...@gmail.com>
---
 init/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/init/Kconfig b/init/Kconfig
index 2184b34..089db85 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -977,6 +977,18 @@ config CGROUP_DEVICE
          Provides a cgroup implementing whitelists for devices which
          a process in the cgroup can mknod or open.
 
+config CGROUP_RDMA_RESOURCE
+       bool "RDMA Resource Controller for cgroups"
+       depends on CGROUP_DEVICE
+       default n
+       help
+         This option enables limiting rdma resources for a device cgroup.
+         Using this option, user space processes can be limited to use
+         limited number of RDMA resources such as MR, PD, QP, AH, FLOW, CQ
+         etc.
+
+         Say N if unsure.
+
 config CPUSETS
        bool "Cpuset support"
        help
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to