Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-09-04 Thread Michal Hocko
On Wed 02-09-15 18:06:20, Greg KH wrote: [...] > And if we aren't taking patch 1/2, I guess this one isn't needed either? Unlike the patch1 which was pretty much cosmetic this fixes a real issue. -- Michal Hocko SUSE Labs ___ devel mailing list

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-09-04 Thread Greg KH
On Fri, Sep 04, 2015 at 04:05:59PM +0200, Michal Hocko wrote: > On Wed 02-09-15 18:06:20, Greg KH wrote: > [...] > > And if we aren't taking patch 1/2, I guess this one isn't needed either? > > Unlike the patch1 which was pretty much cosmetic this fixes a real > issue. Ok, then it would be great

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-09-04 Thread Tetsuo Handa
Greg KH wrote: > On Fri, Sep 04, 2015 at 04:05:59PM +0200, Michal Hocko wrote: > > On Wed 02-09-15 18:06:20, Greg KH wrote: > > [...] > > > And if we aren't taking patch 1/2, I guess this one isn't needed either? > > > > Unlike the patch1 which was pretty much cosmetic this fixes a real > >

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-09-04 Thread Greg KH
On Sat, Sep 05, 2015 at 03:06:46AM +0900, Tetsuo Handa wrote: > Greg KH wrote: > > On Fri, Sep 04, 2015 at 04:05:59PM +0200, Michal Hocko wrote: > > > On Wed 02-09-15 18:06:20, Greg KH wrote: > > > [...] > > > > And if we aren't taking patch 1/2, I guess this one isn't needed either? > > > > > >

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-09-02 Thread Greg KH
On Wed, Aug 26, 2015 at 09:19:48PM +0900, Tetsuo Handa wrote: > Hello. > > Should selected_tasksize be added to rem even when TIF_MEMDIE was not set? > > Please see a thread from http://www.spinics.net/lists/linux-mm/msg93246.html > if you want to know why to reverse the order. >

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-08-27 Thread Michal Hocko
On Thu 27-08-15 00:34:47, Tetsuo Handa wrote: Reposting updated version as it turned out that we can call do_send_sig_info() with task_lock held. ;-) ( http://marc.info/?l=linux-mmm=144059948628905w=2 ) Tetsuo Handa wrote: Should selected_tasksize be added to rem even when TIF_MEMDIE was

Re: [PATCH 2/2] android, lmk: Reverse the order of setting TIF_MEMDIE and sending SIGKILL.

2015-08-26 Thread Tetsuo Handa
Reposting updated version as it turned out that we can call do_send_sig_info() with task_lock held. ;-) ( http://marc.info/?l=linux-mmm=144059948628905w=2 ) Tetsuo Handa wrote: Should selected_tasksize be added to rem even when TIF_MEMDIE was not set? Commit e1099a69a624 android, lmk: avoid