Linux-kernel mailing list archive 1998-10,: [uPATCH] Re: 2.1.89 broken?

# [uPATCH] Re: 2.1.89 broken?

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Tue, 10 Mar 1998 14:25:22 +0100 (MET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Wolfram Gloger: "Re: [uPATCH] sched.c change; snappy_response++"
- Previous message: Bernhard Rosenkraenzer: "Re: ext fs"

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

- Next message: Wolfram Gloger: "Re: [uPATCH] sched.c change; snappy_response++"
- Previous message: Bernhard Rosenkraenzer: "Re: ext fs"