KSM support has been added in kernel 2.6.32, and with it the MADV_MERGEABLE and MADV_UNMERGEABLE constants: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d19f352484467a5e518639ddff0554669c10ffab The following patches update glibc headers to also add this constants.
Created attachment 4390 [details] Patch for main architectures
Created attachment 4391 [details] Patch for ports architectures
Already fixed in git. Don't attach patches for ports to the real bug reports.