lkml.org 
[lkml]   [2010]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] oom killer: break from infinite loop
    On 03/29, anfei wrote:
    >
    > On Sun, Mar 28, 2010 at 06:28:21PM +0200, Oleg Nesterov wrote:
    > > On 03/28, anfei wrote:
    > > >
    > > > Assume thread A and B are in the same group. If A runs into the oom,
    > > > and selects B as the victim, B won't exit because at least in exit_mm(),
    > > > it can not get the mm->mmap_sem semaphore which A has already got.
    > >
    > > I see. But still I can't understand. To me, the problem is not that
    > > B can't exit, the problem is that A doesn't know it should exit. All
    >
    > If B can exit, its memory will be freed,

    Which memory? I thought, we are talking about the memory used by ->mm ?

    Oleg.



    \
     
     \ /
      Last update: 2010-03-29 13:51    [W:4.260 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site