Index: linux-2.6.19-rc5-mm2/mm/swap_state.c =================================================================== --- linux-2.6.19-rc5-mm2.orig/mm/swap_state.c 2006-11-15 16:48:13.000000000 -0600 +++ linux-2.6.19-rc5-mm2/mm/swap_state.c 2006-11-20 16:56:19.315797131 -0600 @@ -151,6 +151,9 @@ int add_to_swap(struct page * page, gfp_ swp_entry_t entry; int err; + printk(KERN_CRIT "add_to_swap(%p, %x)\n", page, gfp_mask); + dump_stack(); + /* Swap prefetching is delayed if we're swapping pages */ delay_swap_prefetch();