lkml.org 
[lkml]   [2000]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2.16 - Crash
On Mon, 7 Aug 2000, James Stevenson wrote:

>
> Hi
>
> no i dont i added more and it has seemed to fix the
> problem

Even if it adding more swap fixed your problem the kernel should not crash
when there is no more swap space available.

Could you please repeat the test with the same amount of swap as before,
but this patch:

--- mm/filemap.c.orig Fri Jul 21 07:18:21 2000
+++ mm/filemap.c Fri Jul 21 07:31:31 2000
@@ -179,8 +179,6 @@
if ((gfp_mask & __GFP_DMA) && !PageDMA(page))
continue;

- count--;
-
/*
* Is it a page swap page? If so, we want to
* drop it if it is no longer used, even if it
@@ -226,7 +224,7 @@
return 1;
}

- } while (count > 0);
+ } while (--count > 0);
return 0;
}


>
> On Sun, 6 Aug 2000, Marcelo Tosatti wrote:
>
> >
> > Do you have any swap space available when the machine crashes?
> >
> >


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.054 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site