mm: optimize Kernel Samepage Merging(KSM)

Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: enable ksm

Signed-off-by: Dan Trifan <jimsth@gmail.com>