From: Greg KH <greg@kroah.com>
To: David Rientjes <rientjes@google.com>
Cc: "Arve Hjønnevåg" <arve@android.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Nick Piggin" <npiggin@suse.de>, "San Mehat" <san@android.com>,
linux-kernel@vger.kernel.org, "Greg KH" <gregkh@suse.de>
Subject: Re: [patch 1/5] oom: cleanup android low memory killer
Date: Mon, 4 May 2009 15:59:36 -0700 [thread overview]
Message-ID: <20090504225936.GA9876@kroah.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0905041529570.2310@chino.kir.corp.google.com>
On Mon, May 04, 2009 at 03:35:08PM -0700, David Rientjes wrote:
> On Mon, 4 May 2009, Greg KH wrote:
>
> > Are these the patches already in my tree?
> >
> > If so, David, just respin your patches against the linux-next tree and
> > resend them, that should be sufficient.
> >
>
> This patch in the series is really more of a convenience than anything
> else since it doesn't change anything functionally. I had to modify the
> lowmemorykiller later because there's a potential for a NULL pointer from
> dereferencing p->mm without holding task_lock(p) and also because I moved
> oomkilladj from struct task_struct to struct mm_struct.
Is this still the case on top of Arve's changes?
> The entire patchset is really based on the move of p->oomkilladj since it
> allows us to prevent an oom killer livelock when killing a task that
> shares memory with an OOM_DISABLE task. That change obviously has to go
> through Andrew but lowmemorykiller.c must be also be changed accordingly.
>
> I'd be fine with dropping my lowmemorykiller changes if they'd like to fix
> this up themselves. Otherwise, I need to know the path to which these get
> into the kernel.
Right now, people are still arguing that the android low memory driver
is not needed, but something is, yet no one has proposed a viable
solution for all parties :(
thanks,
greg k-h
next prev parent reply other threads:[~2009-05-04 23:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 16:35 [patch 1/5] oom: cleanup android low memory killer David Rientjes
2009-05-04 16:35 ` [patch 2/5] oom: fix possible android low memory killer NULL pointer David Rientjes
2009-05-04 16:35 ` [patch 3/5] oom: fix possible oom_dump_tasks " David Rientjes
2009-05-04 16:35 ` [patch 4/5] oom: move oom_adj value from task_struct to mm_struct David Rientjes
2009-05-04 16:35 ` [patch 5/5] oom: prevent possible OOM_DISABLE livelock David Rientjes
2009-05-04 21:48 ` [patch 1/5] oom: cleanup android low memory killer Arve Hjønnevåg
2009-05-04 22:09 ` Greg KH
2009-05-04 22:24 ` [PATCH 1/2] lowmemorykiller: Only iterate over process list when needed Arve Hjønnevåg
2009-05-04 22:24 ` [PATCH 2/2] lowmemorykiller: Don't count free space unless it meets the specified limit by itself Arve Hjønnevåg
2009-05-04 22:35 ` [patch 1/5] oom: cleanup android low memory killer David Rientjes
2009-05-04 22:59 ` Greg KH [this message]
2009-05-04 23:12 ` David Rientjes
2009-05-04 23:16 ` Greg KH
2009-05-04 23:36 ` Arve Hjønnevåg
2009-05-04 23:59 ` David Rientjes
2009-05-04 23:32 ` Rik van Riel
2009-05-11 19:44 ` David Rientjes
2009-05-14 12:23 ` KOSAKI Motohiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090504225936.GA9876@kroah.com \
--to=greg@kroah.com \
--cc=akpm@linux-foundation.org \
--cc=arve@android.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@suse.de \
--cc=rientjes@google.com \
--cc=san@android.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox