The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* do_swap_page() and !CONFIG_SWAP
@ 2007-07-22 12:58 Dan Aloni
  0 siblings, 0 replies; only message in thread
From: Dan Aloni @ 2007-07-22 12:58 UTC (permalink / raw)
  To: Linux Kernel List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-22 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-22 12:58 do_swap_page() and !CONFIG_SWAP Dan Aloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox