Re: [PATCHSET cgroup/for-3.16] cgroup: implement cftype->write()

Tejun Heo
2014-05-13T16:17:10Z

On Tue, May 06, 2014 at 08:44:21AM -0400, Tejun Heo wrote:
> Hello,
>
> This patchset implements a new cftype operation ->write() and replace
> ->write_string() and ->trigger() with it. ->write() is similar to
> ->write_string() but maps directly to the kernfs write operation and
> has access to all available context information including the
> associated kernfs_open_file, which will make things like implementing
> kernfs active protection manipulation easier.
>
> ->write_string() becomes redundant and ->trigger() has always been
> spurious. This patch replaces all users of the two methods to
> ->write() and remove them.
>
> This patchset contains the following five patches.
>
> 0001-cgroup-implement-cftype-write.patch
> 0002-cgroup-replace-cftype-write_string-with-cftype-write.patch
> 0003-cgroup-replace-cftype-trigger-with-cftype-write.patch
> 0004-cgroup-convert-tasks-and-cgroup.procs-handle-to-use-.patch
> 0005-cgroup-remove-cgroup-control_kn.patch

Applied to cgroup/for-3.16.

Thanks.

--
tejun