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:	Sat, 19 Feb 2011 04:07:41 +0000
From:	supercilious.dude@...il.com
To:	linux-kernel@...r.kernel.org
Subject: KSM kernel interface

Hi,

Is there a way to enable KSM globally for all eligible pages in the 
system such that applications need not call madvise() themselves? If 
not, is there a way to do so on behalf of a particular application 
without an ugly LD_PRELOAD hack?

Perhaps there is a small kernel modification that might make this 
possible or provide a sysfs flag that enables it (off by default of course)?

I read through the code very briefly, and as far as I can tell, I need 
to add the VM_MERGEABLE flag to all eligible VMAs at the time they are 
created and also __ksm_enter() the associated mm_struct at creation 
also. Would that work?

Thanks

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