patch-1.3.26 linux/mm/swap.c

Next file: linux/net/Changes
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/mm/swap.c linux/mm/swap.c
@@ -578,7 +578,7 @@
 			}
 
 			p = task[swap_task];
-			if (p && p->mm->swappable && p->mm->rss)
+			if (p && p->mm && p->mm->swappable && p->mm->rss)
 				break;
 
 			swap_task++;

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this