{"push_id":1155500386,"size":25,"distinct_size":25,"ref":"refs/heads/cm-13.0","head":"631bc3fecbe703ac4afcfcf197b03e5e4e911240","before":"34a1ecbf7607be06502327e92df295c70f298fdb","commits":[{"sha":"27173842294abf228b58ccc011025cacb7639c8d","author":{"name":"Ziyan","email":"41fb96d915aed0f73341556a6efd66d71e8e1e83@gmail.com"},"message":"i9300: enable LZ4-backed zRAM\n\nChange-Id: I35a2c7fc74173986ef1b5bb92066e926cf8b8a3f","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/27173842294abf228b58ccc011025cacb7639c8d"},{"sha":"fa24b26d017dc88a9b1956dab2ed898e4d4f17ad","author":{"name":"Marco Navarra","email":"223a8c0788dcbac330224f6a03b87ece7e22a541@gmail.com"},"message":"Staging: android: fixed 80 characters warnings in lowmemorykiller.c\n\nThis patch fixes some 80 chatacters limit warnings in the lowmemorykiller.c file\n\nSigned-off-by: Marco Navarra <fromenglish@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@suse.de>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/fa24b26d017dc88a9b1956dab2ed898e4d4f17ad"},{"sha":"e6edd4723129b31402ad2da3d579abfaf5286f4d","author":{"name":"Anton Vorontsov","email":"39137935ce08a8aa7f57fe25ae946e3e7a3763c8@linaro.org"},"message":"staging: android/lowmemorykiller: Don't grab tasklist_lock\n\nGrabbing tasklist_lock has its disadvantages, i.e. it blocks\nprocess creation and destruction. If there are lots of processes,\nblocking doesn't sound as a great idea.\n\nFor LMK, it is sufficient to surround tasks list traverse with\nrcu_read_{,un}lock().\n\n>From now on using force_sig() is not safe, as it can race with an\nalready exiting task, so we use send_sig() now. As a downside, it\nwon't kill PID namespace init processes, but that's not what we\nwant anyway.\n\nSuggested-by: Oleg Nesterov <oleg@redhat.com>\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nReviewed-by: Oleg Nesterov <oleg@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nConflicts:\n\tdrivers/staging/android/lowmemorykiller.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/e6edd4723129b31402ad2da3d579abfaf5286f4d"},{"sha":"02f83a692461160e7652c4ecaaa632f2339e0f53","author":{"name":"Anton Vorontsov","email":"39137935ce08a8aa7f57fe25ae946e3e7a3763c8@linaro.org"},"message":"staging: android/lowmemorykiller: Better mm handling\n\nLMK should not directly check for task->mm. The reason is that the\nprocess' threads may exit or detach its mm via use_mm(), but other\nthreads may still have a valid mm. To catch this we use\nfind_lock_task_mm(), which walks up all threads and returns an\nappropriate task (with lock held).\n\nSuggested-by: Oleg Nesterov <oleg@redhat.com>\nReviewed-by: Oleg Nesterov <oleg@redhat.com>\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nAcked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/02f83a692461160e7652c4ecaaa632f2339e0f53"},{"sha":"5ff795b6e17acb2130c14ac245ba5afae4098ac7","author":{"name":"Anton Vorontsov","email":"39137935ce08a8aa7f57fe25ae946e3e7a3763c8@linaro.org"},"message":"staging: android/lowmemorykiller: No need for task->signal check\n\ntask->signal == NULL is not possible, so no need for these checks.\n\nSuggested-by: Oleg Nesterov <oleg@redhat.com>\nReviewed-by: Oleg Nesterov <oleg@redhat.com>\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nAcked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/5ff795b6e17acb2130c14ac245ba5afae4098ac7"},{"sha":"69de935e50cda9c5f06e6d129c3980f6e11f2f19","author":{"name":"Anton Vorontsov","email":"39137935ce08a8aa7f57fe25ae946e3e7a3763c8@linaro.org"},"message":"staging: android/lowmemorykiller: Do not kill kernel threads\n\nLMK should not try killing kernel threads.\n\nSuggested-by: Oleg Nesterov <oleg@redhat.com>\nReviewed-by: Oleg Nesterov <oleg@redhat.com>\nSigned-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>\nAcked-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/69de935e50cda9c5f06e6d129c3980f6e11f2f19"},{"sha":"f5db7298d33b188805e4dec3145c7758ce647b24","author":{"name":"David Rientjes","email":"f66fbc5bc952713981aafccdae5a05caf2d2e776@google.com"},"message":"staging: android, lowmemorykiller: convert to use oom_score_adj\n\n/proc/pid/oom_adj is deprecated and will be removed in August 2012\naccording to Documentation/feature-removal-schedule.txt.  Convert its\nusage in the lowmemorykiller to use the new interface, oom_score_adj,\ninstead.\n\nSigned-off-by: David Rientjes <rientjes@google.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/f5db7298d33b188805e4dec3145c7758ce647b24"},{"sha":"e5ed23ac6fa9b95dc2ab4bcbaeb41e06b7bdc87a","author":{"name":"Greg Kroah-Hartman","email":"4931344b09d7a7d3573e8b1ebec918e229ead9bf@linuxfoundation.org"},"message":"Staging: android: lowmemorykiller.c\n\nFix compiler warning about the type of the module parameter.\n\nCc: San Mehat <san@google.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/e5ed23ac6fa9b95dc2ab4bcbaeb41e06b7bdc87a"},{"sha":"f749a76e69e403c0c29456e4c810fc86ebe2eed1","author":{"name":"Arve Hjønnevåg","email":"252c00e8bf89f12b2f75a1e0ab87a5ad019cda88@android.com"},"message":"staging: android: lowmemorykiller: Add config option to support oom_adj values\n\nThe conversion to use oom_score_adj instead of the deprecated oom_adj\nvalues breaks existing user-space code. Add a config option to convert\noom_adj values written to oom_score_adj values if they appear to be\nvalid oom_adj values.\n\nChange-Id: I68308125059b802ee2991feefb07e9703bc48549\nSigned-off-by: Arve Hjønnevåg <arve@android.com>\n\nConflicts:\n\tdrivers/staging/android/Kconfig","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/f749a76e69e403c0c29456e4c810fc86ebe2eed1"},{"sha":"495686d879b1f543c401a7137059cb147f367c10","author":{"name":"Arve Hjønnevåg","email":"252c00e8bf89f12b2f75a1e0ab87a5ad019cda88@android.com"},"message":"staging: android: lowmemorykiller: Don't count reserved free memory\n\nThe amount of reserved memory varies between devices. Subtract it\nhere to reduce the amount of devices specific tuning needed for the\nminfree values.\n\nChange-Id: I466ae8b18f5972f6f6d8b5a7d8c4ae69660de53a\nSigned-off-by: Arve Hjønnevåg <arve@android.com>\n\nConflicts:\n\tdrivers/staging/android/lowmemorykiller.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/495686d879b1f543c401a7137059cb147f367c10"},{"sha":"fd6a3ac352f2be6e0894c8d8cba2b6646b53cf9d","author":{"name":"Arve Hjønnevåg","email":"252c00e8bf89f12b2f75a1e0ab87a5ad019cda88@android.com"},"message":"staging: android: lowmemorykiller: Change default debug_level to 1\n\nThe select...to kill messages are not very useful when not debugging\nthe lowmemorykiller itself. After the change to check TIF_MEMDIE\ninstead of using a task notifer this message can also get very\nnoisy.\n\nChange-Id: Ice171c25801d6faa454b885a23b24b002423b754\nSigned-off-by: Arve Hjønnevåg <arve@android.com>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/fd6a3ac352f2be6e0894c8d8cba2b6646b53cf9d"},{"sha":"60a864d62b964dbde426df2f53b053c13cfbe50f","author":{"name":"Colin Cross","email":"c3eb3589476a85b6e3c54298f5e4883ee431d748@android.com"},"message":"lowmemorykiller: make default lowmemorykiller debug message useful\n\nlowmemorykiller debug messages are inscrutable and mostly useful\nfor debugging the lowmemorykiller, not explaining why a process\nwas killed.  Make the messages more useful by prefixing them\nwith \"lowmemorykiller: \" and explaining in more readable terms\nwhat was killed, who it was killed for, and why it was killed.\n\nThe messages now look like:\n[   76.997631] lowmemorykiller: Killing 'droid.gallery3d' (2172), adj 1000,\n[   76.997635]    to free 27436kB on behalf of 'kswapd0' (29) because\n[   76.997638]    cache 122624kB is below limit 122880kB for oom_score_adj 1000\n[   76.997641]    Free memory is -53356kB above reserved\n\nA negative number for free memory above reserved means some of the\nreserved memory has been used and is being regenerated by kswapd,\nwhich is likely what called the shrinkers.\n\nChange-Id: I1fe983381e73e124b90aa5d91cb66e55eaca390f\nSigned-off-by: Colin Cross <ccross@android.com>\n\nConflicts:\n\tdrivers/staging/android/lowmemorykiller.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/60a864d62b964dbde426df2f53b053c13cfbe50f"},{"sha":"aecd4580a1ffb38b53a49b482f286f6d04304e5d","author":{"name":"Ziyann","email":"41fb96d915aed0f73341556a6efd66d71e8e1e83@gmail.com"},"message":"staging: android: lowmemorykiller: fix build breakage on kernel 3.0","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/aecd4580a1ffb38b53a49b482f286f6d04304e5d"},{"sha":"51ec83132ab250883b0a1393dd73cbfdb92226cb","author":{"name":"Hong-Mei Li","email":"f21d9f2a543f8ebb541fdb6fdb4841297cdcb27a@motorola.com"},"message":"kernel: avoid adding non-thread-group task to LMK rbtree\n\nTo maintain the task adj RB tree, we add a task to the RB tree when fork,\nand delete it when exit. The place is exactly the same as the linear\np->tasks list, only when the task is thread_group_leader.\n\nBut to handle the oom_score_adj change case, which did not check the\nthread_group_leader, we may del/add a non-leader task to the RB tree.\nFinally leave the task in the RB tree, since we would not really delete\na non-leader task from the tree. The orphan task would finally be freed,\nand cause later use-after-free panic when accessing RB tree.\n\nSolution:\nMove the rbtree adj_node to signal_struct, which is shared between\ntask and all threads. This can make sure we only add one node for\na thread group.\n\nChange-Id: I1e8dfe490656408863b3726c7bc9e4ee6dc5abc1\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.mot.com/754224\nSLTApproved: Slta Waiver <sltawvr@motorola.com>\nSME-Granted: SME Approvals Granted\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Zhi-Ming Yuan <a14194@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>\n(cherry picked from commit b3f12a2465542888ec5c868c38022e0e5f7631ca)\nSigned-off-by: Abdul Salam <salamab@motorola.com>\nReviewed-on: http://gerrit.mot.com/766108\nReviewed-by: Sudharsan Yettapu <sudharsan.yettapu@motorola.com>\nReviewed-by: Ravikumar Vembu <raviv@motorola.com>\n(cherry picked from commit 558ef1fceae5d4c8509cb2a40d98c841525f7ea3)\nReviewed-on: http://gerrit.mot.com/768300\n\nConflicts:\n\tkernel/fork.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/51ec83132ab250883b0a1393dd73cbfdb92226cb"},{"sha":"8f5f33a7fd66e85d8d8502b5ee9c1c731ff0aeb5","author":{"name":"Hong-Mei Li","email":"f21d9f2a543f8ebb541fdb6fdb4841297cdcb27a@motorola.com"},"message":"fs: avoid adding non-thread-group task to LMK rbtree\n\nTo maintain the task adj RB tree, we add a task to the RB tree when fork,\nand delete it when exit. The place is exactly the same as the linear\np->tasks list, say, nly when the task is thread_group_leader.\n\nWhen task group_leader is changing, we make sure to add the new leader\ninto RB tree after its leader flag is set, task->exit_signal.\n\nCherry-picked from (CR): http://gerrit.mot.com/753419/\n\nChange-Id: I8da47998510e531188feb067b491e92306be9414\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.mot.com/753419\nSLTApproved: Slta Waiver <sltawvr@motorola.com>\nSME-Granted: SME Approvals Granted\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Zhi-Ming Yuan <a14194@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>\nReviewed-on: http://gerrit.mot.com/766106\nReviewed-by: Sudharsan Yettapu <sudharsan.yettapu@motorola.com>\nReviewed-by: Ravikumar Vembu <raviv@motorola.com>\n(cherry picked from commit e9e92d64142625981490dd5c323aa08467d349e8)\nReviewed-on: http://gerrit.mot.com/768301\n\nConflicts:\n\tfs/exec.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/8f5f33a7fd66e85d8d8502b5ee9c1c731ff0aeb5"},{"sha":"6f04da23b1e3aa60626bfef868ee89a77cebd637","author":{"name":"Hong-Mei Li","email":"f21d9f2a543f8ebb541fdb6fdb4841297cdcb27a@motorola.com"},"message":"staging: android: lowmemorykiller: implement task's adj rbtree\n\nBased on the current LMK implementation, LMK has to scan all processes to\nselect the correct task to kill during low memory.\nThe basic idea for the optimization is to :\nqueue all tasks with oom_score_adj priority, and then LMK just selects the\nproper task from the queue(rbtree) to kill.\n\nperformance improvement:\nthe current implementation: average time to find a task to kill : 1004us\nthe optimized implementation: average time to find a task to kill: 43us\n\nChange-Id: I4dbbdd5673314dbbdabb71c3eff0dc229ce4ea91\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.pcs.mot.com/548917\nSLT-Approved: Slta Waiver <sltawvr@motorola.com>\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>\nSigned-off-by: D. Andrei Măceș <dmaces@nd.edu>\n\nConflicts:\n\tdrivers/staging/android/Kconfig\n\tdrivers/staging/android/lowmemorykiller.c\n\tfs/proc/base.c\n\tmm/oom_kill.c\n\nConflicts:\n\tdrivers/staging/android/lowmemorykiller.c\n\tmm/oom_kill.c\n\nConflicts:\n\tmm/oom_kill.c\n\nConflicts:\n\tdrivers/staging/android/lowmemorykiller.c\n\tmm/oom_kill.c","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/6f04da23b1e3aa60626bfef868ee89a77cebd637"},{"sha":"eeaf4e63e771b8084bd2fecd58ec4430383e2ef5","author":{"name":"Yi-wei Zhao","email":"338d330bc94ac4c6a8331b6b30850f7d9c1eb7b9@motorola.com"},"message":"staging: android: lowmemorykiller: select a new task to kill\n\nUnder certain circumstances, a process may take time to handle a SIGKILL.\nWhen lowmemkiller is called again shortly after, it would pick the same\nprocess to kill over and over, so that we cann't get free memory for long time.\n\nSolution is to check fatal_signal_pending() on the selected task, and if it's\nalready pending, select a new task to kill.\n\nCherry-pick 5e3358093351e5d48e21250e31896b855542f22c\nReviewed-on: http://gerrit.pcs.mot.com/479831\n\nChange-Id: I53445114451ffaba293f3c7174fb0b01ed0d34b6\nSigned-off-by: Tianshui Shi <kfp634@motorola.com>\nReviewed-on: http://gerrit.pcs.mot.com/505410\nTested-by: Jira Key <JIRAKEY@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nReviewed-by: Jason Hrycay <jason.hrycay@motorola.com>\nReviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>\n(cherry picked from commit da093001caf06ed2296b4f79c84cc48ce713eac6)","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/eeaf4e63e771b8084bd2fecd58ec4430383e2ef5"},{"sha":"2ed1b46030d9062ac9dc12ffef3beb3ece44d1a0","author":{"name":"Yi-wei Zhao","email":"338d330bc94ac4c6a8331b6b30850f7d9c1eb7b9@motorola.com"},"message":"staging:android:lmk: read rb tree root with spinlock\n\nthere is racing condition: after reading rb tree root, it might be changed\nby other tasks before adding new node. it can lead to rb tree corruption.\nThis patch is to avoid this race condition.\n\nChange-Id: Id86bfd133488ad4ee12cd83c9bf1d1c12ef5598f\nSigned-off-by: Yi-wei Zhao <gbjc64@motorola.com>\nReviewed-on: http://gerrit.mot.com/715645\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Sheng-Zhe Zhao <a18689@motorola.com>\nSLTApproved: Christopher Fries <cfries@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/2ed1b46030d9062ac9dc12ffef3beb3ece44d1a0"},{"sha":"ca7c9fad094f4413dcb2ce65d6d4983201295536","author":{"name":"Hong-Mei Li","email":"f21d9f2a543f8ebb541fdb6fdb4841297cdcb27a@motorola.com"},"message":"drivers:lmk: Fix double delete issue\n\nsomeone may change a process's oom_score_adj by proc fs, even though the\nprocess has exited. In that case, the task was deleted from the rb tree\nalready, and the redundant deleting would trigger rb_erase panic finally.\n\nIn this patch, we make sure to clear the node after deteting and check\nits empty status before rb_erase.\n\nChange-Id: I7628c7d21011099e796b7d366cbc142f96bb8aab\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.mot.com/725306\nSLTApproved: Slta Waiver <sltawvr@motorola.com>\nSME-Granted: SME Approvals Granted\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Sheng-Zhe Zhao <a18689@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/ca7c9fad094f4413dcb2ce65d6d4983201295536"},{"sha":"f8be24cb48429f5d532876b57d5083dd4e178159","author":{"name":"Hong-Mei Li","email":"f21d9f2a543f8ebb541fdb6fdb4841297cdcb27a@motorola.com"},"message":"drivers:lmk: Fix null pointer issue\n\nOn some race, the tsk that lmk is using may be deleted from the RB tree\nby other thread, and rb_next would return a NULL if we use this tsk to\nget next. For this case, we need to skip this round of shrink and wait\nfor the next turn. Otherwise, tsk would trigger NULL pointer panic.\n\nChange-Id: I37f4bd2827f8a0a28f29192dd71532d1c252f986\nSigned-off-by: Hong-Mei Li <a21834@motorola.com>\nReviewed-on: http://gerrit.mot.com/729556\nSLTApproved: Slta Waiver <sltawvr@motorola.com>\nSME-Granted: SME Approvals Granted\nTested-by: Jira Key <jirakey@motorola.com>\nReviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>\nSubmit-Approved: Jira Key <jirakey@motorola.com>","distinct":true,"url":"https://api.github.com/repos/fourkbomb/android_kernel_samsung_smdk4412/commits/f8be24cb48429f5d532876b57d5083dd4e178159"}]}
{"actor":{"display_login":"fourkbomb"}}