[lkml]   [2017]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

On Fri, Mar 31, 2017 at 11:48 PM, Greg KH <> wrote:
> On Fri, Mar 31, 2017 at 02:00:13PM -0700, Doug Anderson wrote:
>> On Fri, Mar 31, 2017 at 12:29 PM, Greg KH <> wrote:
>> BTW: I presume that nobody has decided that it would be a wise idea to
>> pick the OOM reaper code back to any stable trees? It seemed a bit
>> too scary to me, so I wrote a dumber (but easier to backport) solution
>> that avoided the deadlocks I was seeing.
>> and the 3 patches above it in case anyone else stumbles on this thread
>> and is curious.
> What specific upstream OOM patches are you referring to? I'm always
> glad to review patches for stable kernels, just email
> the git commit ids and we can take it from there.


I was wondering about the concept of porting the OOM Reaper back to
older kernels. The OOM reaper was originally introduced in:

Basically the problem described in that patch exists in many older
kernels and I've certainly seen crashes related to this in 3.10, but I
believe older kernels see the same problems too.

Personally I wouldn't know exactly which patches were important to
backport and how far to go. One could arbitrarily try to backport up
to 4.6.7 (since 4.6 was the first kernel to really have the OOM
reaper) and ignore all the reaper fixes that landed since then. This
would probably be doable for kernel 4.4, though if anyone was trying
to support older kernels it might get harder.


 \ /
  Last update: 2017-04-02 04:35    [W:0.086 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site