lkml.org 
[lkml]   [1998]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[uPATCH] Re: 2.1.89 broken?
On Tue, 10 Mar 1998, Regis Duchesne wrote:

> > Yeah, I've noticed that everything seems to completetly stop when it's
> > swapping, interactive performance is worse when swapping it seems.
> > -Myrdraal
> Same thing here :(

Since my patch is shorter than some .sigs, I'll post
it again.

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl |
| ...submissions welcome... | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+

--- vmscan.c~ Mon Mar 9 20:51:44 1998
+++ vmscan.c Mon Mar 9 20:51:44 1998
@@ -573,6 +573,8 @@

if (free_memory_available())
break;
+ if (nr_free_pages + atomic_read(&nr_async_pages) > free_pages_high * 4)
+ break;
gfp_mask = __GFP_IO;
try_to_free_page(gfp_mask);
/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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