Re: [PATCH 2/2] move slab pages to the lru, for 2.5.27

From: Ed Tomlinson (tomlins@cam.org)
Date: Wed Jul 24 2002 - 19:12:59 EST


Hi,

This patch fixes the SMP problems for Steve. It was a thinko I put in to check things... In SMP
it was just plain broken. Patch is against 2.4.26 with Craig's patches but works on 2.5.27 and
2.4.x too. My bk tree with slablru based on linux-2.4-rmap at casa.dyndns.org:3334 has also
been updated.

Thanks,
Ed Tomlinson

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.430 -> 1.431
# mm/slab.c 1.23 -> 1.24
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/24 ed@oscar.et.ca 1.431
# Prevent false out of memory reporting in SMP
# --------------------------------------------
#
diff -Nru a/mm/slab.c b/mm/slab.c
--- a/mm/slab.c Wed Jul 24 17:22:31 2002
+++ b/mm/slab.c Wed Jul 24 17:22:31 2002
@@ -1309,8 +1309,6 @@
 #else
                 locked = !in_interrupt() && spin_trylock(&pagemap_lru_lock);
 #endif
- if (!locked && !in_interrupt())
- goto opps1;
         }
 
         /* Get slab management. */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:18 EST