Index: linux-2.6.20-mm1/mm/memory.c =================================================================== --- linux-2.6.20-mm1.orig/mm/memory.c 2007-02-15 14:35:41.000000000 -0800 +++ linux-2.6.20-mm1/mm/memory.c 2007-02-15 14:35:54.000000000 -0800 @@ -930,6 +930,8 @@ static void try_to_set_mlocked(struct pa struct zone *zone; unsigned long flags; + return; + if (!PageLRU(page) || PageMlocked(page)) return;