]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cgroups: add the trigger callback to struct cftype
authorPavel Emelyanov <xemul@openvz.org>
Tue, 29 Apr 2008 08:00:08 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:09 +0000 (08:06 -0700)
commitd447ea2f30ec60370ddb99a668e5ac12995f043d
treef5d53c03d32323f3e916237f8ec0e0b2572f93b0
parent46ae220bea40bd1cf4abec2d5cdfb4f9396c7115
cgroups: add the trigger callback to struct cftype

Trigger callback can be used to receive a kick-up from the user space.  The
string written is ignored.

The cftype->private is used for multiplexing events.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Paul Menage <menage@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cgroup.h
kernel/cgroup.c