Re: android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-04-07 Thread Tetsuo Handa
arnings. > > > > > > The patch 77ed2c5745d9: "android,lowmemorykiller: Don't abuse > > > TIF_MEMDIE." from Mar 8, 2016, leads to the following Smatch > > > complaint: > > > > > > drivers/staging/android/lowmemorykiller.c:145 lowm

Re: android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-04-06 Thread Tetsuo Handa
Dan Carpenter wrote: > Hello Tetsuo Handa, Hello, Dan. > > This is a semi-automatic email about new static checker warnings. > > The patch 77ed2c5745d9: "android,lowmemorykiller: Don't abuse > TIF_MEMDIE." from Mar 8, 2016, leads to the following Smatch >

re: android,lowmemorykiller: Don't abuse TIF_MEMDIE.

2016-04-06 Thread Dan Carpenter
Hello Tetsuo Handa, This is a semi-automatic email about new static checker warnings. The patch 77ed2c5745d9: "android,lowmemorykiller: Don't abuse TIF_MEMDIE." from Mar 8, 2016, leads to the following Smatch complaint: drivers/staging/android/lowmemorykiller.c:145 l

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