patch-1.3.38 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
- Lines: 9
- Date:
Mon Nov 6 12:29:40 1995
- Orig file:
v1.3.37/linux/mm/swap.c
- Orig date:
Fri Oct 13 14:44:48 1995
diff -u --recursive --new-file v1.3.37/linux/mm/swap.c linux/mm/swap.c
@@ -837,6 +837,8 @@
unsigned long flags;
int reserved_pages;
+ if (order >= NR_MEM_LISTS)
+ return 0;
if (intr_count && priority != GFP_ATOMIC) {
static int count = 0;
if (++count < 5) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this