Messages in this thread Patch in this message | | | Date | Mon, 5 May 1997 04:03:54 -0400 | From | "David S. Miller" <> | Subject | Re: kernel 2.0.30 |
| |
Hubert, can you try this patch instead, trigger the high stress situations you describe, and let me know what the kernel messages say? Thanks.
--- mm/vmscan.c.~1~ Thu May 1 00:31:31 1997 +++ mm/vmscan.c Mon May 5 04:02:40 1997 @@ -340,6 +340,7 @@ stop = 3; if (wait) stop = 0; +we_slept: switch (state) { do { case 0: @@ -357,7 +358,13 @@ i--; } while ((i - stop) >= 0); } - return 0; + /* This should never return failure, instead it should sleep + * and try again. + */ + printk("try_to_free_page: state(%d) stop(%d) i(%d) sleep instead of fail\n"); + schedule(); + stop = 9; + goto we_slept; }
| |