memcg: create extensible page stat update routines