>> As far as other types of pages go: page cache and anon are already >> batched pretty well, but I think kmem might benefit from this >> too. Have you considered using the stock in memcg_kmem_uncharge()? > > Good idea! > I'll try to find an appropriate testcase and check if it really > brings any benefits. If so, I'll master a patch. >
Hi Roman, did you get the chance to try this on memcg_kmem_uncharge()?