Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller

From: peter enderborg
Date: Fri Feb 10 2017 - 04:18:45 EST


On 02/10/2017 08:51 AM, Greg Kroah-Hartman wrote:
> On Fri, Feb 10, 2017 at 08:21:32AM +0100, peter enderborg wrote:
>> Im not speaking for google, but I think there is a work ongoing to
>> replace this with user-space code.
> Really? I have not heard this at all, any pointers to whom in Google is
> doing it?
>
I think it was mention some of the google conferences. The idea
is the lmkd that uses memory pressure events to trigger this.
>From git log in lmkd i think Colin Cross is involved.

>> Until then we have to polish this version as good as we can. It is
>> essential for android as it is now.
> But if no one is willing to do the work to fix the reported issues, why
> should it remain?
It is needed by billions of phones.
> Can you do the work here?
No. Change the kernel is only one small part of the solution.
> You're already working on
> fixing some of the issues in a differnt way, why not do the "real work"
> here instead for everyone to benifit from?
The long term solution is something from AOSP. As you know
we tried to contribute this to AOSP. As OEM we can't turn android
upside down. It has to be a step by step.
> thanks,
>
> greg k-h