[Devel] [PATCH] Simplify memory controller and resource counter I/O

2007-10-04 Thread Paul Menage
Simplify the memory controller and resource counter I/O routines This patch strips out some I/O boilerplate from resource counters and the memory controller. It also adds locking to the resource counter reads and writes, and forbids writes to the root memory cgroup's limit file. cgroup_write_uin

[Devel] [PATCH] Simplify memory controller and resource counter I/O

2007-09-26 Thread Paul Menage
Simplify the memory controller and resource counter I/O routines This patch strips out some I/O boilerplate from resource counters and the memory controller. It also adds locking to the resource counter reads and writes, and forbids writes to the root memory cgroup's limit file. One arguable dra