Re: [PATCH] android: binder: check result of binder_get_thread() in binder_poll()

2017-05-08 Thread Doug Anderson
Dmitry, On Mon, May 8, 2017 at 1:46 PM, John Stultz wrote: > On Mon, May 8, 2017 at 1:43 PM, Dmitry Torokhov > wrote: >> If binder_get_thread() fails to give us a thread data, we should avoid >> dereferencing a NULL pointer and return POLLERR

Re: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

2017-04-04 Thread Doug Anderson
Hi, On Tue, Apr 4, 2017 at 12:40 AM, Michal Hocko <mho...@kernel.org> wrote: > On Mon 03-04-17 11:09:32, Doug Anderson wrote: > [...] >> Maybe +Michal Hocko would have some opinions of which OOM Reaper >> patches would be good for picking into linux stable? >

Re: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

2017-04-03 Thread Doug Anderson
Hi, On Mon, Apr 3, 2017 at 6:25 AM, Greg KH <gre...@linuxfoundation.org> wrote: > On Sat, Apr 01, 2017 at 07:34:53PM -0700, Doug Anderson wrote: >> Hi, >> >> On Fri, Mar 31, 2017 at 11:48 PM, Greg KH <gre...@linuxfoundation.org> wrote: >> > On Fri, Mar 3

Re: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

2017-04-01 Thread Doug Anderson
Hi, On Fri, Mar 31, 2017 at 11:48 PM, Greg KH <gre...@linuxfoundation.org> 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 <gre...@linuxfoundation.org> wrote: >> BTW: I presume that nobody has deci

Re: [RFC PATCH] binder: Don't require the binder lock when killed in binder_thread_read()

2017-03-31 Thread Doug Anderson
Hi, On Fri, Mar 31, 2017 at 12:29 PM, Greg KH wrote: > On Fri, Mar 31, 2017 at 10:53:41AM -0700, Douglas Anderson wrote: >> Sometimes when we're out of memory the OOM killer decides to kill a >> process that's in binder_thread_read(). If we happen to be waiting >>