On Wed 18-01-12 19:25:27, Sha wrote:yeah, I finally twig what he meant... I'm not quite familiar with this part.
[...]
Er... I'm even more confused: mem_cgroup_soft_limit_reclaim indeedmem_cgroup_soft_limit_reclaim picks up the hierarchy root (most
choses the biggest soft-limit excessor first, but in the succeeding reclaim
mem_cgroup_hierarchical_reclaim just selects a child cgroup by css_id
excessing one) and mem_cgroup_hierarchical_reclaim reclaims from that
subtree). It doesn't care who exceeds the soft limit under that
hierarchy it just tries to push the root under its limit as much as it
can. This is what Johannes tried to explain in the other email in the
thred.
which has nothing to do with soft limit (see mem_cgroup_select_victim).It is hierarchical because it iterates over hierarchy it is not and
IMHO, it's not a genuine hierarchical reclaim.
never was recursively soft-hierarchical...