4.9 and 4.14 OK, I had check the code did not have __GFP_ACCOUNT flag. I will double check on the latest version. Maybe there something I do not know. Thanks for replying bytedance.net 段熊春 duanxiongchun@bytedance.com > On Nov 22, 2018, at 3:34 PM, Michal Hocko wrote: > > On Thu 22-11-18 10:56:04, 段熊春 wrote: >> After long time dig, we find their lots of offline but not release memcg object in memory eating lots of memory. >> Why this memcg not release? Because the inode pagecache use some page which is charged to those memcg, > > As already explained these objects should be reclaimed under memory > pressure. If they are not then there is a bug. And Roman has fixed some > of those recently. > > Which kernel version are you using? > -- > Michal Hocko > SUSE Labs