--- linux-2.4.20.w4l/mm/vmscan.c.orig 2003-02-18 18:05:02 +0300 +++ linux-2.4.20.w4l/mm/vmscan.c 2003-02-18 18:07:28 +0300 @@ -343,8 +343,8 @@ return count; } -static int FASTCALL(swap_out(zone_t * classzone)); -static int swap_out(zone_t * classzone) +static int FASTCALL(swap_out(unsigned int gfp_mask, zone_t * classzone)); +static int swap_out(unsigned int gfp_mask, zone_t * classzone) { int counter, nr_pages = SWAP_CLUSTER_MAX; struct mm_struct *mm; @@ -592,7 +592,7 @@ #endif if (!*failed_swapout) - *failed_swapout = !swap_out(classzone); + *failed_swapout = !swap_out(gfp_mask, classzone); max_mapped = nr_pages * vm_mapped_ratio; @@ -738,7 +738,7 @@ #endif if (!failed_swapout) - failed_swapout = !swap_out(classzone); + failed_swapout = !swap_out(gfp_mask, classzone); } while (--tries); if (likely(current->pid != 1))