{"push_id":766811127,"size":13,"distinct_size":13,"ref":"refs/heads/cm-11.0","head":"5a8bf0b772bc57986a0a659acd1afd1cb88068eb","before":"e15bea3f8392e0a71ed2f6c832b5ed46a3a312a9","commits":[{"sha":"d47138eebd3ac9699828d4757a7aa2ded3e696c2","author":{"email":"7f5bb03cf507c861269be561971108be8f37d832@chemlab.org","name":"Steve Kondik"},"message":"msm: Improve qpnp-vibrator scheduling\n\n * Skip the workqueue and use spinlocks to improve interactivity\n * This vastly improves \"recent apps\" in Android\n\nChange-Id: I77da17b4f1ce2f213772c41ddbac21250432279e","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/d47138eebd3ac9699828d4757a7aa2ded3e696c2"},{"sha":"d119dc2fe92065df120b13f1deaaa15dfa20d022","author":{"email":"c9a1f8bf19f76c8ec591b159d3e7c3a1b7483092@codeaurora.org","name":"Jeevan Shriram"},"message":"msm: mdss: share fb memory ion fd to userspace\n\nAdd new operation request to share ion fd to userspace\nfor mapping to the frame buffer memory.\n\nChange-Id: I404c73c19e3fffec593ffd32c34e7b1a74a500d8\nSigned-off-by: Jeevan Shriram <jshriram@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/d119dc2fe92065df120b13f1deaaa15dfa20d022"},{"sha":"b70da9e0fe275620ef642b28cbb2457f7f76fa2e","author":{"email":"33837adfb53316eae44aad04041e1240088d76fd@linaro.org","name":"John Stultz"},"message":"staging: ion: Avoid using rt_mutexes directly\n\nRT_MUTEXES can be configured out of the kernel, causing compile\nproblems with ION.\n\nTo quote Colin:\n\"rt_mutexes were added with the deferred freeing feature.  Heaps need\nto return zeroed memory to userspace, but zeroing the memory on every\nallocation was causing performance issues.  We added a SCHED_IDLE\nthread to zero memory in the background after freeing, but locking the\nheap from the SCHED_IDLE thread might block a high priority allocation\nthread for a long time.\n\nThe lock is only used to protect the heap's free_list and\nfree_list_size members, and is not held for any long or sleeping\noperations.  Converting to a spinlock should prevent priority\ninversion without using the rt_mutex.  I'd also rename it to free_lock\nto so it doesn't get used as a general heap lock.\"\n\nThus this patch converts the rt_mutex usage to a spinlock and\nrenames the lock free_lock to be more clear as to its use.\n\nI also had to change a bit of logic in ion_heap_freelist_drain()\nto safely avoid list corruption.\n\nChange-Id: I47cf3551902a01d4441eeb6ade8eeb43ab9cd90b\nAcked-by: Colin Cross <ccross@android.com>\nCc: Android Kernel Team <kernel-team@android.com>\nReported-by: Jim Davis <jim.epost@gmail.com>\nSigned-off-by: John Stultz <john.stultz@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nGit-commit: c6448537fe9e8b684b214e89c6c68c3b209f549e\nGit-repo: http://android.googlesource.com/kernel/common/\nSigned-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/b70da9e0fe275620ef642b28cbb2457f7f76fa2e"},{"sha":"511c19621f3af77d0f57e5ce47203ab68f4332ad","author":{"email":"380081620a7947c89c11153c5513f34019caa923@android.com","name":"Colin Cross"},"message":"ion: move shrinker out of heaps\n\nEvery heap that uses deferred frees is going to need a shrinker\nto shrink the freelist under memory pressure.  Rather than\nrequiring each heap to implement a shrinker, automatically\nregister a shrinker if the deferred free flag is set.\nThe system heap also needs to shrink its page pools, so add\na shrink function to the heap ops that will be called after\nshrinking the freelists.\n\nChange-Id: Icda722d683426fadb8ddd1c8e9499264ab682c57\nSigned-off-by: Colin Cross <ccross@android.com>\nGit-commit: f3ae9a8286d63f13715d2082965d6b8849af05a5\nGit-repo: http://android.googlesource.com/kernel/common/\n[mitchelh@codeaurora.org: context differences due to our addition of\n cached page pools and some additional heap callbacks]\nSigned-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/511c19621f3af77d0f57e5ce47203ab68f4332ad"},{"sha":"f0accfb1d173f0550288c5e89ac2f52f1589cb7a","author":{"email":"5070267e141ca308fc855217ddbeaf20e729a7bf@codeaurora.org","name":"Mitchel Humpherys"},"message":"ion: msm: move custom zero'ing functions out of core Ion\n\nMSM targets currently use some optimized zero'ing functions. However,\nthere are always merge conflicts when bringing in patches from upstream\nso these custom functions should be moved into the MSM space and the\noriginal zero'ing functions from upstream should be restored.\n\nAll users of the custom zero'ing functions should continue to use the\ncustom functions. The goal, over time, is to unify the approaches but\nfor now just leave them separated.\n\nChange-Id: I4818c09569976a82b8fecc5cd81129ce65ee7db3\nSigned-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/f0accfb1d173f0550288c5e89ac2f52f1589cb7a"},{"sha":"9c989c746f68e548d2bd072c8f37d761d17fa3e9","author":{"email":"380081620a7947c89c11153c5513f34019caa923@android.com","name":"Colin Cross"},"message":"ion: optimize ion_heap_buffer_zero\n\nion_heap_buffer_zero can spend a long time in unmap_kernel_range\nif it has to broadcast a tlb flush to every cpu for every page.\nModify it to batch pages into a larger region to clear using a\nsingle mapping.  This may cause the mapping size to change if\nthe buffer size is not a multiple of the mapping size, so\nswitch to allocating the address space for each chunk.  This\nallows us to use vm_map_ram to handle the allocation and mapping\ntogether.\n\nThe number of pages to zero using a single mapping is set to 32\nto hit the fastpath in vm_map_ram.\n\nChange-Id: I1accfe67b285cbc9e95e387bea4246864197827d\nSigned-off-by: Colin Cross <ccross@android.com>\nGit-commit: fc04e484c319b8df647886d4cf17f7c450453d1d\nGit-repo: http://android.googlesource.com/kernel/common/\nSigned-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/9c989c746f68e548d2bd072c8f37d761d17fa3e9"},{"sha":"ba21af48187127b8c0fe8831b86a4e5bf06eaa8a","author":{"email":"f2ad263351ded8bf8d0b90799bb8b9622c429cf8@gmail.com","name":"Zhao Wei Liew"},"message":"hm2014811: Update config\n\n* Enable KSM\n* Boot with noop\n\nChange-Id: I86e56fe2a076d62c1e34b7da257eb2808e7badca","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/ba21af48187127b8c0fe8831b86a4e5bf06eaa8a"},{"sha":"67d3839161c4add1ef41d8fcea2cc6926cae10f1","author":{"email":"34a322c05ccf7a69003b3e288dfc60055c6d0c33@codeaurora.org","name":"Liam Mark"},"message":"mm: vmscan: support complete shrinker reclaim\n\nEnsure that shrinkers are given the option to completely drop\ntheir caches even when their caches are smaller than the batch size.\n\nThis change helps improve memory headroom by ensuring that under\nsignificant memory pressure shrinkers can drop all of their caches.\n\nThis change only attempts to more aggressively call the shrinkers\nduring background memory reclaim inorder to avoid hurting the\nperforamnce of direct memory reclaim.\n\nChange-Id: I8dbc29c054add639e4810e36fd2c8a063e5c52f3\nSigned-off-by: Liam Mark <lmark@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/67d3839161c4add1ef41d8fcea2cc6926cae10f1"},{"sha":"0242e0fb5f437dc7236316aa16d7b656f768b63e","author":{"email":"f2ad263351ded8bf8d0b90799bb8b9622c429cf8@gmail.com","name":"Zhao Wei Liew"},"message":"ARM: dts: hm2014811: Updates\n\n* Fix build barrier\n* Enable poweroff alarm by default\n* Adjust sound card model\n\nChange-Id: I36cc586c5476d7aab4acba75a726b12178314e83","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/0242e0fb5f437dc7236316aa16d7b656f768b63e"},{"sha":"b64fb4b0b55b93bf830bb4b8f2d9430953201ba0","author":{"email":"34a322c05ccf7a69003b3e288dfc60055c6d0c33@codeaurora.org","name":"Liam Mark"},"message":"lowmemorykiller: enhance debug information\n\nAdd extra debug information to make it easier to both determine\nwhy the lowmemorykiller killed a process and to help find the source\nof memory leaks.\n\nAlso increase the debug level for \"select\" statements to help prevent\nflooding the log.\n\nChange-Id: I3b6876c5ecdf192ecc271aed3f37579f66d47a08\nSigned-off-by: Liam Mark <lmark@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/b64fb4b0b55b93bf830bb4b8f2d9430953201ba0"},{"sha":"b9e1287fba9ad60bb40e624b7d92efaafb999a60","author":{"email":"e7b4910f4742918f5926c991d8a2cd122ac7e295@codeaurora.org","name":"Laura Abbott"},"message":"lowmemorykiller: Dump out slab state information\n\nLeaks from the slab allocator are a very common cause of\nout of memory issues and excessive lowmemorykiller killing.\nDump out the slab statistics as well to help with debugging.\n\nChange-Id: Ia5e4eeb66092c76f2b761321c88fa75c4138927c\nSigned-off-by: Laura Abbott <lauraa@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/b9e1287fba9ad60bb40e624b7d92efaafb999a60"},{"sha":"930997c313c0b9ba3209efafbf55e4bffe171f18","author":{"email":"e7b4910f4742918f5926c991d8a2cd122ac7e295@codeaurora.org","name":"Laura Abbott"},"message":"lowmemorykiller: Run the lowmemory notifier when killing\n\nWhen the lowmemory killer starts killing processes, it's useful to\nbe able to see the state of other memory in the system. Call the\nlowmemory notifier to get other clients to dump out their state.\n\nChange-Id: Ie3b1d47149f0108b42b7961fd47a8cc5efe2c590\nSigned-off-by: Laura Abbott <lauraa@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/930997c313c0b9ba3209efafbf55e4bffe171f18"},{"sha":"5a8bf0b772bc57986a0a659acd1afd1cb88068eb","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"lowmemorykiller: adapt to vmpressure\n\nThere were issues reported, where page cache thrashing was\nobserved because of LMK not killing tasks when required,\nresulting in sluggishness and higher app launch latency.\nLMK does not kill a task for the following reasons.\n1. The free and file pages are above the LMK thresholds\n2. LMK tries to pick task with an adj level corresponding\nto current thresholds, but fails to do so because of the\nabsence of tasks in that level.\nBut sometimes it is better to kill a lower adj task, than thrashing.\nAnd there are cases where the number of file pages are huge, though\nwe dont thrash, the reclaim process becomes time consuming, since\nLMK triggers will be delayed because of higher number of file\npages. Even in such cases, when reclaim path finds it difficult\nto reclaim pages, it is better to trigger lmk to free up some memory\nfaster.\n\nThe basic idea here is to make LMK more aggressive dynamically\nwhen such a thrashing scenario is detected.\n\nTo detect thrashing, this patch uses vmpressure events.\nThe values of vmpressure upon which an action has to be taken,\nwas derived empirically.\n\nThis patch also adds tracepoints to validate this feature,\nalmk_shrink and almk_vmpressure.\n\nTwo knobs are available for the user to tune adaptive lmk\nbehaviour.\n\n/sys/module/lowmemorykiller/parameters/adaptive_lmk - Write\n1 to enable the feature, 0 to disable. By default disabled.\n\n/sys/module/lowmemorykiller/parameters/vmpressure_file_min -\nThis parameter controls the behaviour of LMK when vmpressure\nis in the range of 90-94. Adaptive lmk triggers based on number file\npages wrt vmpressure_file_min, when vmpressure is in the range of\n90-94. Usually this is a pseudo minfree value, higher than the\nhighest configured value in minfree array.\n\nChange-Id: I1a08160c35d3e33bdfd1d2c789c288fc07d0f0d3\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/zwliew/android_kernel_xiaomi_msm8916/commits/5a8bf0b772bc57986a0a659acd1afd1cb88068eb"}]}