Re: pre-2.0.32-2 + this patch works for me

Dr. Werner Fink (
Mon, 16 Jun 1997 23:57:24 +0200

> This patch worked well for me. With it I was able to mke2fs a 45GB
> raid partition on a system running with 4MB of RAM. Also, I was able
> to run iozone and bonnie simultaneously with a kernel compile; no seg
> faults, no "couldn't get a free page" reports from kmalloc.
> Running davem's previous patch I was able to get try_to_free_page to
> fail. The debugging output from try_to_free_page was (from memory):
> try_to_free_page(3,0,0): FAIL try(shrink_mmap:shm_swap:swap_out) state[o(1):n(1)] stop[o(3):n(3)]

This line is triggerd by kswapd ... because it will call try_to_free_page
in mm/vmscan.c with wait == 0 (the last 0 in try_to_free_page(3,0,0)).

On a "couldn't get a free page" you would see something like
try_to_free_page(X,Y,1). Do you have run some stress test like

while true; do make clean ; make -j zImage ; done

in a kernel tree?