Lisp HUG Maillist Archive

Use of KSM (Kernel SamePage Merging) feature in Linux kernel with LispWorks



Just curious: does anyone know if LispWorks for Linux support the KSM feature in recent linux kernels?:

   http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)  
   https://www.kernel.org/doc/Documentation/vm/ksm.txt


 According to the documentation above, an application has to advise the kernel that it is a candidate for KSM, as follows:

KSM only operates on those areas of address space which an application
has advised to be likely candidates for merging, by using the madvise(2)
system call: int madvise(addr, length, MADV_MERGEABLE).


Regards,

 Dave



--
My Best,

Dave Cooper, Genworks Support
david.cooper@genworks.com, dave.genworks.com(skype)
USA: 248-327-3253(o), 1-248-330-2979(mobile)
UK: 0191 645 1699
Updated at: 2020-12-10 08:35 UTC