mm : ukms : initial support

ukms is an improvement upon KSM. Some basic data structures and routines are borrowed from ksm.c