Skip to content

Commit

Permalink
cgroup: Make Kconfig prompt of debug cgroup more accurate
Browse files Browse the repository at this point in the history
The Kconfig prompt and description of the debug cgroup controller
more accurate by saying that it is for debug purpose only and its
interfaces are unstable.

Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
  • Loading branch information
Waiman-Long authored and htejun committed Jun 14, 2017
1 parent a28f8f5 commit 23b0be4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1205,11 +1205,14 @@ config CGROUP_BPF
inet sockets.

config CGROUP_DEBUG
bool "Example controller"
bool "Debug controller"
default n
depends on DEBUG_KERNEL
help
This option enables a simple controller that exports
debugging information about the cgroups framework.
debugging information about the cgroups framework. This
controller is for control cgroup debugging only. Its
interfaces are not stable.

Say N.

Expand Down
6 changes: 6 additions & 0 deletions kernel/cgroup/debug.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Debug controller
*
* WARNING: This controller is for cgroup core debugging only.
* Its interfaces are unstable and subject to changes at any time.
*/
#include <linux/ctype.h>
#include <linux/mm.h>
#include <linux/slab.h>
Expand Down

0 comments on commit 23b0be4

Please sign in to comment.