Thanks for replying, Michal.
cc to duanxiongchun
At 2018-11-21 17:10:41, "Michal Hocko" <mhocko@xxxxxxxxxx> wrote: >On Wed 21-11-18 16:46:48, dong wrote: >> The last question: If I alloc many small pages and not free them, will >> I exhaust the memory ( because every page contains `mem_cgroup` )? > >No, the memory will get reclaimed on the memory pressure or for >anonymous one (malloc) when the process allocating it terminates, >-- >Michal Hocko >SUSE Labs