All of lore.kernel.org
 help / color / mirror / Atom feed
* free page zeroing and ksm
@ 2012-01-25 16:22 Peter Lieven
  0 siblings, 0 replies; only message in thread
From: Peter Lieven @ 2012-01-25 16:22 UTC (permalink / raw)
  To: linux-kernel

Hi all,

working a lot with KVM and KSM I came across the question if Linux (like 
e.g. Windows) zeroes out free pages
after usage. I came across some patches for page sanitization which 
where submitted in 2009 and have not
been merged for various reasons.

Working with memory deduplication the primary goal is not sanitization 
of the pages, but have them not contain
any garbage after they are freed.

My question is if there is any mechanism in Linux to zero out unused 
pages? I found some people claiming that
there is such a mechanism, but I found no reference.

If there is not would it be possible to implement a kernel process that 
scans for unused pages and zeroes them
out during idle time?

Thanks,
Peter

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

only message in thread, other threads:[~2012-01-25 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 16:22 free page zeroing and ksm Peter Lieven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.