I think that for use_hierarchy=1, we could support either dirty_ratio or
dirty_limit_in_bytes. The code that modifies dirty_limit_in_bytes could
ensure that the sum the dirty_limit_in_bytes of each child does not
exceed the parent's dirty_limit_in_bytes.
Ok, I will add the use_hierarchy==1 check and repost the patches.
I will wait to post the -v4 patch series until you post an improved
"[PATCH][memcg+dirtylimit] Fix overwriting global vm dirty limit setting
by memcg (Re: [PATCH v3 00/11] memcg: per cgroup dirty page accounting"
patch. I think it makes sense to integrate that into -v4 of the series.
--