do_swap_page() and !CONFIG_SWAP
From: Dan Aloni
Date: Sun Jul 22 2007 - 08:59:16 EST
Hello,
Is there any valid reason (except memory corruption) for do_swap_page()
to be called in a x86_64 2.6.21.5 kernel where CONFIG_SWAP is not selected?
If not, does it make sense to put there something in lines of:
print_bad_pte(vma, orig_pte, address);
panic("unexpected swap pte - possible page table memory corruption\n");
?
--
Dan Aloni
XIV LTD, http://www.xivstorage.com
da-x (at) monatomic.org, dan (at) xiv.co.il
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/