[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <28c262360906080821v542bc573r496209402779d5c2@mail.gmail.com>
Date: Tue, 9 Jun 2009 00:21:28 +0900
From: Minchan Kim <minchan.kim@...il.com>
To: David Rientjes <rientjes@...gle.com>
Cc: Balbir Singh <balbir@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [patch -mmotm] oom: only oom kill exiting tasks with attached
memory
Hi, David.
On Mon, Jun 8, 2009 at 8:18 AM, David Rientjes<rientjes@...gle.com> wrote:
> On Sun, 7 Jun 2009, Balbir Singh wrote:
>
>> Seems like a good change to make. Did you encounter this situation on
>> a real machine?
>>
>
> I did, as the result of the chosen task remaining in PF_EXITING state with
> a detached mm following a previous oom kill.
> --
Let me have a question.
If I understand your situation properly, you mean
Time order
t1 < t2 < t3 < t4.
t1 : oom kill A process - send signal. it doesn't destroy mm_struct yet.
t2 : destroy A's mm_struct but it is in task list.
t3 : It happens OOM, again. Process A is selected again since it still
remain in task list
t4 : Now A's mm_struct is destroyed => situation you said.
Is right ?
Do you turn on sysctl oom_kill_allocating_task ?
--
Kinds regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists