Guido Trotter wrote:
Hi, Am I mistaken or in order for eglibc-based systems to support KSM (upcoming in linux 2.6.32) something similar to the following patch must be applied?
Is there a reason for KSM API to be included in EGLIBC before it is available in FSF GLIBC?
Once KSM support is implemented in FSF GLIBC, it will be routinely merged to EGLIBC.
(other lines changed to reindent the numbers to the new longest string)
While not obvious at a quick glance, the patch only adds two new MADV_* flags, it doesn't remove anything.
+# define MADV_MERGEABLE 12 /* KSM may merge identical pages */ +# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ Regards, -- Maxim Kuvyrkov CodeSourcery maxim@xxxxxxxxxxxxxxxx (650) 331-3385 x724