lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4F202C2E.7040100@dlh.net>
Date:	Wed, 25 Jan 2012 17:22:06 +0100
From:	Peter Lieven <pl@....net>
To:	linux-kernel@...r.kernel.org
Subject: free page zeroing and ksm

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ