Re: [PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-04-04 Thread Tetsuo Handa
Greg KH wrote: > On Mon, Mar 21, 2016 at 08:00:49PM +0900, Tetsuo Handa wrote: > > Greg Kroah-Hartman wrote: > > > On Tue, Mar 08, 2016 at 03:18:59PM +0100, Michal Hocko wrote: > > > > On Tue 08-03-16 20:01:32, Tetsuo Handa wrote: > > > > > Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for

Re: [PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-03-21 Thread Greg KH
On Mon, Mar 21, 2016 at 08:00:49PM +0900, Tetsuo Handa wrote: > Greg Kroah-Hartman wrote: > > On Tue, Mar 08, 2016 at 03:18:59PM +0100, Michal Hocko wrote: > > > On Tue 08-03-16 20:01:32, Tetsuo Handa wrote: > > > > Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for two purposes. > > > > One

Re: [PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-03-21 Thread Tetsuo Handa
Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 03:18:59PM +0100, Michal Hocko wrote: > > On Tue 08-03-16 20:01:32, Tetsuo Handa wrote: > > > Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for two purposes. > > > One is to remember processes killed by LMK, and the other is to > > >

Re: [PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-03-11 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 03:18:59PM +0100, Michal Hocko wrote: > On Tue 08-03-16 20:01:32, Tetsuo Handa wrote: > > Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for two purposes. > > One is to remember processes killed by LMK, and the other is to > > accelerate termination of processes

Re: [PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-03-08 Thread Michal Hocko
On Tue 08-03-16 20:01:32, Tetsuo Handa wrote: > Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for two purposes. > One is to remember processes killed by LMK, and the other is to > accelerate termination of processes killed by LMK. > > But since LMK is invoked as a memory shrinker function,

[PATCH] android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-03-08 Thread Tetsuo Handa
Currently, lowmemorykiller (LMK) is using TIF_MEMDIE for two purposes. One is to remember processes killed by LMK, and the other is to accelerate termination of processes killed by LMK. But since LMK is invoked as a memory shrinker function, there still should be some memory available. It is very