[Devel] [PATCH rh7 1/2] memcg: account dcache size

Cyrill Gorcunov gorcunov at odin.com
Wed May 27 00:21:03 PDT 2015


On Fri, May 22, 2015 at 02:08:24PM +0300, Vladimir Davydov wrote:
> We need to show dcachesize stats in the UB API. Since we need to record
> max usage, we use a plain res_counter instead of going with per cpu
> counters. The following patch will make beancounter pull this value from
> memcg whenever necessary.
> 
> Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
Reviewed-by: Cyrill Gorcunov <gorcunov at odin.com>



More information about the Devel mailing list