Subject: virtmem on 4.9
From: Ghislain Adnet <gadnet@aqueos.com>
Date: Mon, 22 Jan 2018 19:10:59 +0100
Mon, 22 Jan 2018 19:10:59 +0100
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.
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.