summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorSerge E. Hallyn2008-04-29 10:00:14 +0200
committerLinus Torvalds2008-04-29 17:06:10 +0200
commit29486df325e1fe6e1764afcb19e3370804c2b002 (patch)
treed69a96bb829940f3ae5171fde481edb20a9e468a /mm/memcontrol.c
parentcgroups: remove the css_set linked-list (diff)
downloadkernel-qcow2-linux-29486df325e1fe6e1764afcb19e3370804c2b002.tar.gz
kernel-qcow2-linux-29486df325e1fe6e1764afcb19e3370804c2b002.tar.xz
kernel-qcow2-linux-29486df325e1fe6e1764afcb19e3370804c2b002.zip
cgroups: introduce cft->read_seq()
Introduce a read_seq() helper in cftype, which uses seq_file to print out lists. Use it in the devices cgroup. Also split devices.allow into two files, so now devices.deny and devices.allow are the ones to use to manipulate the whitelist, while devices.list outputs the cgroup's current whitelist. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Acked-by: Paul Menage <menage@google.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions