{"push_id":1154182816,"size":1,"distinct_size":1,"ref":"refs/heads/NEW","head":"20758512ad2167928b718815caad64a312819793","before":"ad0777ece2c6900df55fbf17f8fccce9f7b4f479","commits":[{"sha":"20758512ad2167928b718815caad64a312819793","author":{"name":"bhb27","email":"836e17375f2f208a0212d2945ac6f0b939989b04@gmail.com"},"message":"mm: Add UKSM support\nThis is an improvement upon KSM. Some basic data structures and routines\nare borrowed from ksm.c .\n\nIts new features:\n1. Full system scan:\n     It automatically scans all user processes' anonymous VMAs. Kernel-user\n     interaction to submit a memory area to KSM is no longer needed.\n\n2. Rich area detection:\n     It automatically detects rich areas containing abundant duplicated\n     pages based. Rich areas are given a full scan speed. Poor areas are\n     sampled at a reasonable speed with very low CPU consumption.\n\n3. Ultra Per-page scan speed improvement:\n     A new hash algorithm is proposed. As a result, on a machine with\n     Core(TM)2 Quad Q9300 CPU in 32-bit mode and 800MHZ DDR2 main memory, it\n     can scan memory areas that does not contain duplicated pages at speed of\n     627MB/sec ~ 2445MB/sec and can merge duplicated areas at speed of\n     477MB/sec ~ 923MB/sec.\n\n4. Thrashing area avoidance:\n     Thrashing area(an VMA that has frequent Ksm page break-out) can be\n     filtered out. My benchmark shows it's more efficient than KSM's per-page\n     hash value based volatile page detection.\n\n5. Misc changes upon KSM:\n     * It has a fully x86-opitmized memcmp dedicated for 4-byte-aligned page\n       comparison. It's much faster than default C version on x86.\n     * rmap_item now has an struct *page member to loosely cache a\n       address-->page mapping, which reduces too much time-costly\n       follow_page().\n     * The VMA creation/exit procedures are hooked to let the Ultra KSM know.\n     * try_to_merge_two_pages() now can revert a pte if it fails. No break_\n       ksm is needed for this case.\n\n6. Full Zero Page consideration(contributed by Figo Zhang)\n   Now uksmd consider full zero pages as special pages and merge them to an\n   special unswappable uksm zero page.\n\nChangeLog:\n\n2012-05-05 The creation of this Doc\n2012-05-08 UKSM 0.1.1.1 libc crash bug fix, api clean up, doc clean up.\n2012-05-28 UKSM 0.1.1.2 bug fix release\n2012-06-26 UKSM 0.1.2-beta1 first beta release for 0.1.2\n2012-07-2  UKSM 0.1.2-beta2\n2012-07-10 UKSM 0.1.2-beta3\n2012-07-26 UKSM 0.1.2 Fine grained speed control, more scan optimization.\n2012-10-13 UKSM 0.1.2.1 Bug fixes.\n2012-12-31 UKSM 0.1.2.2 Minor bug fixes\n2014-07-02 UKSM 0.1.2.3 Fix a \" __this_cpu_read() in preemptible bug\"\n\nChange-Id: I1cbbf5399065665d647297464f589c335b6153bc","distinct":true,"url":"https://api.github.com/repos/bhb27/android_kernel_motorola_apq8084/commits/20758512ad2167928b718815caad64a312819793"}]}
{"actor":{"display_login":"bhb27"}}