Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-10-14 Thread 朱辉
2014 09 24 23:36, Rik van Riel: > On 09/22/2014 10:57 PM, Hui Zhu wrote: >> The cause of this issue is when free memroy size is low and a lot of task is >> trying to shrink the memory, the task that is killed by lowmemkiller cannot >> get >> CPU to exit itself. >> >> Fix this issue with change the

Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-24 Thread Rik van Riel
On 09/22/2014 10:57 PM, Hui Zhu wrote: > The cause of this issue is when free memroy size is low and a lot of task is > trying to shrink the memory, the task that is killed by lowmemkiller cannot > get > CPU to exit itself. > > Fix this issue with change the scheduling policy to SCHED_FIFO if a t

Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-23 Thread 朱辉
On 09/23/14 16:00, Weijie Yang wrote: > On Tue, Sep 23, 2014 at 12:48 PM, 朱辉 wrote: >> >> >> On 09/23/14 12:18, Greg KH wrote: >>> On Tue, Sep 23, 2014 at 10:57:09AM +0800, Hui Zhu wrote: The cause of this issue is when free memroy size is low and a lot of task is trying to shrink

Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-23 Thread Weijie Yang
On Tue, Sep 23, 2014 at 12:48 PM, 朱辉 wrote: > > > On 09/23/14 12:18, Greg KH wrote: >> On Tue, Sep 23, 2014 at 10:57:09AM +0800, Hui Zhu wrote: >>> The cause of this issue is when free memroy size is low and a lot of task is >>> trying to shrink the memory, the task that is killed by lowmemkiller

Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-22 Thread 朱辉
On 09/23/14 12:18, Greg KH wrote: > On Tue, Sep 23, 2014 at 10:57:09AM +0800, Hui Zhu wrote: >> The cause of this issue is when free memroy size is low and a lot of task is >> trying to shrink the memory, the task that is killed by lowmemkiller cannot >> get >> CPU to exit itself. >> >> Fix this

Re: [PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-22 Thread Greg KH
On Tue, Sep 23, 2014 at 10:57:09AM +0800, Hui Zhu wrote: > The cause of this issue is when free memroy size is low and a lot of task is > trying to shrink the memory, the task that is killed by lowmemkiller cannot > get > CPU to exit itself. > > Fix this issue with change the scheduling policy to

[PATCH] Fix the issue that lowmemkiller fell into a cycle that try to kill a task

2014-09-22 Thread Hui Zhu
The cause of this issue is when free memroy size is low and a lot of task is trying to shrink the memory, the task that is killed by lowmemkiller cannot get CPU to exit itself. Fix this issue with change the scheduling policy to SCHED_FIFO if a task's flag is TIF_MEMDIE in lowmemkiller. Signed-of