do_swap_page() and !CONFIG_SWAP
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");?
Signature · 3 lines
Dan Aloni XIV LTD, http://www.xivstorage.com da-x (at) monatomic.org, dan (at) xiv.co.il