ebied...@xmission.com (Eric W. Biederman) writes: > Kirill Tkhai do you think you would be able adapt Michal Hoko's old > patch at https://marc.info/?l=linux-kernel&m=143635857131756&w=2 > that replaces mm->owner with mm->memcg?
Ouch. At least compared to the current kernel your patch is wide of the mark of what is needed to use mm->memcg correctly. I have however written my own and if someone can review it I would really appreciate it. It looks like we can change mm->owner to mm->memcg without too much trouble and reduce the amount of code in the kernel at the same time. Eric