mm: optimize Kernel Samepage Merging(KSM)

Change-Id: If5ebd9738c318b8aaa598b8b2743f8ddf6bab1cd