[RFC PATCH 0/6] add defer mechanism to ksm to make it more suitable for Android devices

2015-06-10 Thread Wenwei Tao
I observe that it is unlikely for KSM to merge new pages from an area that has already been scanned twice on Android mobile devices, so it's a waste of power to scan these areas in high frequency. In this patchset, a defer mechanism is introduced which is borrowed from page compaction to KSM. A

[RFC PATCH 0/6] add defer mechanism to ksm to make it more suitable for Android devices

2015-06-10 Thread Wenwei Tao
I observe that it is unlikely for KSM to merge new pages from an area that has already been scanned twice on Android mobile devices, so it's a waste of power to scan these areas in high frequency. In this patchset, a defer mechanism is introduced which is borrowed from page compaction to KSM. A