[lxc-devel] Memory Resources
daniel.lezcano at free.fr
Mon Aug 24 07:11:15 PDT 2009
[ snip ]
>>> i think that /proc/meminfo should be mounted after /proc . why? i think
>>> that, because mounting /proc may override /proc/meminfo
>>> Am I right? :)
>> Ha ! haha ! arrgh ! no way ! You are right :/
> Hehe ;)
>> In the case of application container, lxc mounts /proc but in the case of
>> system container it is the system who do that so after the /proc/meminfo has
>> been mounted.
>> Maybe we can look at modifying fs/proc/meminfo.c instead. Let me do a small
>> patch for the kernel...
> Okey. I am waiting for your patch :)
Quick and dirty patch but at least working. It is no synced on the
latest kernel version.
I do not really like to touch fs/proc/meminfo.c but it's an example here.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4462 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/containers/attachments/20090824/b33838bd/attachment.patch
More information about the Containers