[Devel] [PATCH 3/3] Use the res_counter_populate in memory controller

2007-10-04 Thread Pavel Emelyanov
Note, that the controller code dealing with the cftype files for resource counters becomes much shorter and won't have to be changed in the future. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 1b8bf24..2e62d24 100644 --- a/mm/memcon

[Devel] [PATCH 3/3] Use the res_counter_populate in memory controller

2007-10-03 Thread Pavel Emelyanov
Note, that the controller code dealing with the cftype files for resource counters becomes much shorter and won't have to be changed in the future. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 1b8bf24..d1b43bc 100644 --- a/mm/memcon