OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/3] Consolidate cgroup files creation for resource counters (v2)
[PATCH 0/3] Consolidate cgroup files creation for resource counters (v2) [message #21276] Thu, 04 October 2007 09:18 Go to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Changes from previous version
* made the names configurable
* fixed race between res_counter_populate and reading
  any of these files (memset to zero could spoof the
  pointers)

Right now we have only one controller in -mm tree - the memory
one - and it initializes all its files manually. After I developed
the kernel memory one it turned out, that the names of resource
counter specific files has changed. In the future, if anything in
the resource counters change, we'll have to rewrite all the
controllers we will have by that time.

To make all the containers working with the resource counters
look similar I propose to create the resource counters specific
files in one place.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [patch -mm 1/5] mqueue namespace : add struct mq_namespace
Next Topic: netns : close all sockets at unshare ?
Goto Forum:
  


Current Time: Thu Jul 03 16:50:05 GMT 2025

Total time taken to generate the page: 0.03077 seconds