diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-09 00:35:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-09 00:35:12 -0400 |
commit | 92c1d6522135050cb377a18cc6e30d08dfb87efb (patch) | |
tree | 5d2fa3051c975f1c459b6949f9e71cac2edf74de /include | |
parent | df2a40f549e6b73aad98b0c03f400c00d284816b (diff) | |
parent | 99c8b231ae6c6ca4ca2fd1c0b3701071f589661f (diff) |
Merge branch 'for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup updates from Tejun Heo:
"Documentation updates and the addition of cgroup_parse_float() which
will be used by new controllers including blk-iocost"
* 'for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
docs: cgroup-v1: convert docs to ReST and rename to *.rst
cgroup: Move cgroup_parse_float() implementation out of CONFIG_SYSFS
cgroup: add cgroup_parse_float()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cgroup-defs.h | 2 | ||||
-rw-r--r-- | include/linux/cgroup.h | 2 | ||||
-rw-r--r-- | include/uapi/linux/bpf.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index b4e766e93f6e..c5311935239d 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h | |||
@@ -624,7 +624,7 @@ struct cftype { | |||
624 | 624 | ||
625 | /* | 625 | /* |
626 | * Control Group subsystem type. | 626 | * Control Group subsystem type. |
627 | * See Documentation/cgroup-v1/cgroups.txt for details | 627 | * See Documentation/cgroup-v1/cgroups.rst for details |
628 | */ | 628 | */ |
629 | struct cgroup_subsys { | 629 | struct cgroup_subsys { |
630 | struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css); | 630 | struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *parent_css); |
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 0297f930a56e..3745ecdad925 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -131,6 +131,8 @@ void cgroup_free(struct task_struct *p); | |||
131 | int cgroup_init_early(void); | 131 | int cgroup_init_early(void); |
132 | int cgroup_init(void); | 132 | int cgroup_init(void); |
133 | 133 | ||
134 | int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v); | ||
135 | |||
134 | /* | 136 | /* |
135 | * Iteration helpers and macros. | 137 | * Iteration helpers and macros. |
136 | */ | 138 | */ |
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index a8b823c30b43..489e118b69d2 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h | |||
@@ -785,7 +785,7 @@ union bpf_attr { | |||
785 | * based on a user-provided identifier for all traffic coming from | 785 | * based on a user-provided identifier for all traffic coming from |
786 | * the tasks belonging to the related cgroup. See also the related | 786 | * the tasks belonging to the related cgroup. See also the related |
787 | * kernel documentation, available from the Linux sources in file | 787 | * kernel documentation, available from the Linux sources in file |
788 | * *Documentation/cgroup-v1/net_cls.txt*. | 788 | * *Documentation/cgroup-v1/net_cls.rst*. |
789 | * | 789 | * |
790 | * The Linux kernel has two versions for cgroups: there are | 790 | * The Linux kernel has two versions for cgroups: there are |
791 | * cgroups v1 and cgroups v2. Both are available to users, who can | 791 | * cgroups v1 and cgroups v2. Both are available to users, who can |