ksm: check and skip page, if it is already scanned

From: Pradeep Sawlani <sawlani@amazon.com>

On system like Android where most of the process are forked
from parent w/o execve, KSM can scan same page multiple times
in one scan cycle. There is no advantage in scanning same page
multiple times for merging. During testing with Android, it was
observed around 60% pages are skipped for each scan cycle.

Change-Id: I0cf01802f0b4d61fcab92558beb9e1c660dc9a77
Link: http://lkml.kernel.org/r/CAMrOTPgBtANS_ryRjan0-dTL97U7eRvtf3dCsss=Kn+Uk89fuA@mail.gmail.com
Signed-off-by: Pradeep Sawlani <sawlani@amazon.com>
defconfig: enable ksm check page

Change-Id: Ia7affe064abfe4b73765f01ff555236a121977c0
cpufreq: interactive: fix sparse warnings by updating cputime64_t to u64

there were few sparse warnings due to mismatch of type on function arguments. two types were used u64 and cputime64_t. both are actually u64, so use u64 only.

Change-Id: Ieb20713fb0e6eacb1416450596ce837d302c52ea
cpufreq: cpu-boost: add wake boosting

boost frequency on wake up to speed it up.

Change-Id: Id04525f4840ffc1f3d8e879271ffaa128254efd3
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>