[vserver] virtmem on 4.9

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Mon 22 Jan 2018 - 18:10:59 GMT
Message-ID: <65cdccae-0ca7-9edf-c00f-113faef189f6@aqueos.com>

hi,

 I htink i got  it with the help of AlexanderS: on irc:

memcontrol.c
https://pastebin.com/raw/e5WBvcD1

mem_cgroup_usage return pages now and not bytes so remove the shift

limit.c
https://pastebin.com/raw/NkQ2BDqD

adapt to sysinfo.mem_unit

with the two i got the right virt_mem results.

Ghislain.
Received on Mon Jan 22 18:08:31 2018

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 22 Jan 2018 - 18:08:31 GMT by hypermail 2.1.8