]> bbs.cooldavid.org Git - net-next-2.6.git/commit - mm/memcontrol.c
memcgroup: use triggers in force_empty and max_usage files
authorPavel Emelyanov <xemul@openvz.org>
Tue, 29 Apr 2008 08:00:20 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:10 +0000 (08:06 -0700)
commit85cc59db12724e1248f5e4841e61339cf485d5c7
tree960340cafba30181a1e2f60c93cd54a6fdb637ff
parentb6ac57d50a375aa2f267e1b2b56c46564a936d00
memcgroup: use triggers in force_empty and max_usage files

These two files are essentially event callbacks.  They do not care about the
contents of the string, but only about the fact of the write itself.

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