Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable
From: Eric W. Biederman
Date: Tue May 01 2018 - 13:22:21 EST
ebiederm@xxxxxxxxxxxx (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