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>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 23 Jul 2009 20:56:37 -0700
From:	"Moussa A. Ba" <moussa.a.ba@...il.com>
To:	linux-kernel@...r.kernel.org
CC:	akpm@...ux-foundation.org, adobriyan@...il.com, mpm@...enic.com,
	mel@....ul.ie, yinghan@...gle.com, npiggin@...e.de,
	jaredeh@...il.com, moussa.a.ba@...il.com
Subject: [PATCH 0/1] pagemap clear_refs: modify to specify anon or mapped
 vma clearing

This patch makes the clear_refs proc interface a bit more versatile. It 
adds support for clearing either anonymous, file mapped pages or both.

echo 1 > /proc/pid/clear_refs clears ANON pages
echo 2 > /proc/pid/clear_refs clears file mapped pages
echo 3 > /proc/pid/clear_refs clears all pages

Selectively clearing pages has a measurable impact on performance as it 
decreases the number of page walks.  We have been using this interface 
and this adds flexibility to the user space application implementing the 
reference clearing.

Moussa.
--
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