On Mon, Dec 17, 2018 at 01:56:40PM +0530, vijay nag wrote: > Hello Linux-MM, > > My containerized application which is suppose to have a very low RSS(by default > containers patterns are to have low memory footprint) seems to be getting its > BSS segment RSS bloated due to THPs. Although there is a huge zero page > support, the overhead seems to be at-least 2MB even when a byte is dirtied. > Also there are tune-able to disable this feature, but this seems to be a > system wide setting. Is there a plan to make this setting cgroup aware ? It's possible to control THP on per-mapping using madvise(MADV_NOHUGEPAGE) and per-process using prctl(PR_SET_THP_DISABLE). > Thanks, > Vijay Nag -- Sincerely yours, Mike.