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


Groups > linux.kernel > #1584472 > unrolled thread

Re: [PATCH 0/3 staging-next] android: Lowmemmorykiller task tree

Started byMichal Hocko <mhocko@kernel.org>
First post2017-02-20 11:30 +0100
Last post2017-02-20 11:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/3 staging-next] android: Lowmemmorykiller task tree Michal Hocko <mhocko@kernel.org> - 2017-02-20 11:30 +0100

#1584472 — Re: [PATCH 0/3 staging-next] android: Lowmemmorykiller task tree

FromMichal Hocko <mhocko@kernel.org>
Date2017-02-20 11:30 +0100
SubjectRe: [PATCH 0/3 staging-next] android: Lowmemmorykiller task tree
Message-ID<tcTod-3qg-11@gated-at.bofh.it>
On Mon 13-02-17 16:42:42, peter enderborg wrote:
> On 02/10/2017 11:27 AM, Michal Hocko wrote:
> > [I have only now see this cover - it answers some of the questions I've
> >  had to specific patches. It would be really great if you could use git
> >  send-email to post patch series - it just does the right thing(tm)]
> >
> > On Thu 09-02-17 14:21:40, peter enderborg wrote:
> >> Lowmemorykiller efficiency problem and a solution.
> >>
> >> Lowmemorykiller in android has a severe efficiency problem. The basic
> >> problem is that the registered shrinker gets called very often without
> >>  anything actually happening.
> > Which is an inherent problem because lkml doesn't belong to shrinkers
> > infrastructure.
> 
> Not really what this patch address.  I see it as a problem with shrinker
> that there no slow-path-free (scan/count) where it should belong.
> This patch address a specific problem where lot of cpu are wasted
> in low memory conditions.

Let me repeat. The specific problem you are trying to solve is
_inherent_ to how the lmk is designed. Full stop.

-- 
Michal Hocko
SUSE Labs

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web