Recently when writing a from cgroup mem information read from the memory subsystem of the kernel module, use is deepin4.15-30 version of the kernel, see the Linux 4.15 version of the source code in memcontrol. Find cgroup mem information generated in c source code
In the kernel module include
After header file, use this function but compile times wrong implicit declaration of function