Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578394

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

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller
Date 2017-02-10 12:10 +0100
Message-ID <t9hfs-2El-29@gated-at.bofh.it> (permalink)
References (2 earlier) <t93Fv-2mP-1@gated-at.bofh.it> <t93YS-2u7-17@gated-at.bofh.it> <t9ehA-xE-5@gated-at.bofh.it> <t9ehA-xE-31@gated-at.bofh.it> <t9fwZ-1tL-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 10, 2017 at 10:05:12AM +0100, peter enderborg wrote:
> 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.

Great, care to add him to this thread?

> >> 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.

Well, something is needed, not necessarily this solution :)

> >  Can you do the work here? 
> No. Change the kernel is only one small part of the solution.

Why can't you work on the whole thing?

> >  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.

I posted in AOSP that you should post the patches here as AOSP shouldn't
be taking patches that the community rejects.  There's no reason you
can't also provide the "fix the userspace side" patches into AOSP at the
same time, and provide the "correct" solution here as well.  The kernel
community doesn't care abotu AOSP, nor should anyone expect it to.  You
are going to have to work across both boundries/communities in order to
resolve this properly.

If not, as the kernel developers have pointed out, the in-kernel stuff
will probably be removed as it's causing problems for the upstream
developers, and no one is stepping up to fix it "correctly".

thanks,

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller peter enderborg <peter.enderborg@sonymobile.com> - 2017-02-09 14:40 +0100
  Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-09 15:10 +0100
  Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Michal Hocko <mhocko@kernel.org> - 2017-02-09 20:30 +0100
    Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-09 21:40 +0100
      Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Michal Hocko <mhocko@kernel.org> - 2017-02-09 22:00 +0100
        Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller peter enderborg <peter.enderborg@sonymobile.com> - 2017-02-10 09:00 +0100
          Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Michal Hocko <mhocko@kernel.org> - 2017-02-10 09:00 +0100
            Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller peter enderborg <peter.enderborg@sonymobile.com> - 2017-02-10 10:20 +0100
              Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Michal Hocko <mhocko@kernel.org> - 2017-02-10 10:20 +0100
                Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller peter enderborg <peter.enderborg@sonymobile.com> - 2017-02-13 16:50 +0100
          Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 09:00 +0100
            Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller peter enderborg <peter.enderborg@sonymobile.com> - 2017-02-10 10:20 +0100
              Re: [PATCH 1/3 staging-next] android: Collect statistics from  lowmemorykiller Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-10 12:10 +0100

csiph-web