[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o9hz2sw3.fsf@xmission.com>
Date: Tue, 01 May 2018 12:22:04 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Michal Hocko <mhocko@...nel.org>
Cc: Kirill Tkhai <ktkhai@...tuozzo.com>, akpm@...ux-foundation.org,
peterz@...radead.org, oleg@...hat.com, viro@...iv.linux.org.uk,
mingo@...nel.org, paulmck@...ux.vnet.ibm.com,
keescook@...omium.org, riel@...hat.com, tglx@...utronix.de,
kirill.shutemov@...ux.intel.com, marcos.souza.org@...il.com,
hoeun.ryu@...il.com, pasha.tatashin@...cle.com, gs051095@...il.com,
dhowells@...hat.com, rppt@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable
ebiederm@...ssion.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
Powered by blists - more mailing lists