GitHub PushEvent at 2014-10-08 02:24:06
Repository: Unleashed-Kernel-Series
Actor: ion-storm
Payload: {"shas":[["e8265f8670bba8083dedfcc67e4688b6c34d6b14","2ad7b89f9c0e03e0762ce300ba71ebec2c095f59@gmail.com","cpufreq: hellsactive: remove boostpulse interface","ion-storm",true],["30559626a6f4a6520b4219a2b88d27d00a77d451","3fddac958924aef220f202ca567388ddab3f14a8@infradead.org","arch: Introduce smp_load_acquire(), smp_store_release()\n\nA number of situations currently require the heavyweight smp_mb(),\neven though there is no need to order prior stores against later\nloads.  Many architectures have much cheaper ways to handle these\nsituations, but the Linux kernel currently has no portable way\nto make use of them.\n\nThis commit therefore supplies smp_load_acquire() and\nsmp_store_release() to remedy this situation.  The new\nsmp_load_acquire() primitive orders the specified load against\nany subsequent reads or writes, while the new smp_store_release()\nprimitive orders the specifed store against any prior reads or\nwrites.  These primitives allow array-based circular FIFOs to be\nimplemented without an smp_mb(), and also allow a theoretical\nhole in rcu_assign_pointer() to be closed at no additional\nexpense on most architectures.\n\nIn addition, the RCU experience transitioning from explicit\nsmp_read_barrier_depends() and smp_wmb() to rcu_dereference()\nand rcu_assign_pointer(), respectively resulted in substantial\nimprovements in readability.  It therefore seems likely that\nreplacing other explicit barriers with smp_load_acquire() and\nsmp_store_release() will provide similar benefits.  It appears\nthat roughly half of the explicit barriers in core kernel code\nmight be so replaced.\n\n[Changelog by PaulMck]\n\nReviewed-by: \"Paul E. McKenney\" <paulmck@linux.vnet.ibm.com>\nSigned-off-by: Peter Zijlstra <peterz@infradead.org>\nAcked-by: Will Deacon <will.deacon@arm.com>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>\nCc: Michael Ellerman <michael@ellerman.id.au>\nCc: Michael Neuling <mikey@neuling.org>\nCc: Russell King <linux@arm.linux.org.uk>\nCc: Geert Uytterhoeven <geert@linux-m68k.org>\nCc: Heiko Carstens <heiko.carstens@de.ibm.com>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Martin Schwidefsky <schwidefsky@de.ibm.com>\nCc: Victor Kaplansky <VICTORK@il.ibm.com>\nCc: Tony Luck <tony.luck@intel.com>\nCc: Oleg Nesterov <oleg@redhat.com>\nLink: http://lkml.kernel.org/r/20131213150640.908486364@infradead.org\nSigned-off-by: Ingo Molnar <mingo@kernel.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Peter Zijlstra",true],["2ff07fbf6005b045dbb545a4ac4515db8e1812f9","2ad7b89f9c0e03e0762ce300ba71ebec2c095f59@gmail.com","sched: Optimize build_sched_domains() for saving first SD node for a cpu\n\nDate\tTue, 4 Jun 2013 16:50:18 +0530\n\nWe are saving first scheduling domain for a cpu in build_sched_domains() by\niterating over the nested sd->child list. We don't actually need to do it this\nway.\n\n*per_cpu_ptr(d.sd, i) is guaranteed to be NULL in the beginning as we have\ncalled __visit_domain_allocation_hell() which does a memset to zero for struct\ns_data.\n\nSo, save pointer to first SD while running the iteration loop over tl's.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","ion-storm",true],["3309d038fffcc8473932689b86f0530e4efe554f","5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","sched: Optimize build_sched_domains() for saving first SD node for a cpu\n\nWe are saving first scheduling domain for a cpu in build_sched_domains() by\niterating over the nested sd->child list. We don't actually need to do it this\nway.\n\ntl will be equal to sched_domain_topology for the first iteration and so we can\nset *per_cpu_ptr(d.sd, i) based on that.  So, save pointer to first SD while\nrunning the iteration loop over tl's.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Viresh Kumar",true],["01ef435f70b5a873ab2e556c3252777625de2b30","5ff32272b3d9f86512eddc8e0af523fc6f7924e5@linaro.org","sched: Remove unused params of build_sched_domain()\n\nDate\tTue, 4 Jun 2013 16:50:19 +0530\n\nbuild_sched_domain() never uses parameter struct s_data *d and so passing it is\nuseless.\n\nRemove it.\n\nSigned-off-by: Viresh Kumar <viresh.kumar@linaro.org>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Viresh Kumar",true],["6b1100029b59d1686775c90b46736b22e31adda0","05afeb2b81132ab6685f0098e7d365aeb14e7cae@marvell.com","sched: reduce calculation effort in fix_small_imbalance\n\nDate\tMon, 17 Jun 2013 21:00:22 +0800\n\nActually all below item could be repalced by scaled_busy_load_per_task\n\t(sds->busiest_load_per_task * SCHED_POWER_SCALE)\n\t\t/sds->busiest->sgp->power;\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Lei Wen",true],["cce51471d985d6f291518c1597e8ed6e6e769017","05afeb2b81132ab6685f0098e7d365aeb14e7cae@marvell.com","sched: scale the busy and this queue's per-task load before compare\n\nDate\tMon, 17 Jun 2013 21:00:23 +0800\n\nSince for max_load and this_load, they are the value that already be\nscaled. It is not reasonble to get a minimum value between the scaled\nand non-scaled value, like below example.\n\tmin(sds->busiest_load_per_task, sds->max_load);\n\nAlso add comment over in what condition, there would be cpu power gain\nin move the load.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Lei Wen",true],["abd7152fedd3a7f0778973cb750ff3ec2352666f","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: scale cpu load for judgment of group imbalance\n\nDate\tMon, 17 Jun 2013 21:00:24 +0800\n\nWe cannot compare two load directly from two cpus, since the cpu power\nover two cpu may vary largely.\n\nSuppose we meet such two kind of cpus.\nCPU A:\n\tNo real time work, and there are 3 task, with rq->load.weight\nbeing 512.\nCPU B:\n\tHas real time work, and it take 3/4 of the cpu power, which\nmakes CFS only take 1/4, that is 1024/4=256 cpu power. And over its CFS\nrunqueue, there is only one task with weight as 128.\n\nSince both cpu's CFS task take for half of the CFS's cpu power, it\nshould be considered as balanced in such case.\n\nBut original judgment like:\n        if ((max_cpu_load - min_cpu_load) >= avg_load_per_task &&\n            (max_nr_running - min_nr_running) > 1)\nIt makes (512-128)>=((512+128)/4), and lead to imbalance conclusion...\nMake the load as scaled, to avoid such case.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\n\nmodified for Mako kernel from LKML reference\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["873d8e7550e1b7dac9190b9eace549c5e63f4769","2ad7b89f9c0e03e0762ce300ba71ebec2c095f59@gmail.com","sched: Consider max cost of idle balance per sched domain\n\nDate    Thu, 29 Aug 2013 13:05:35 -0700\n\nIn this patch, we keep track of the max cost we spend doing idle load balancing\nfor each sched domain. If the avg time the CPU remains idle is less then the\ntime we have already spent on idle balancing + the max cost of idle balancing\nin the sched domain, then we don't continue to attempt the balance. We also\nkeep a per rq variable, max_idle_balance_cost, which keeps track of the max\ntime spent on newidle load balances throughout all its domains. Additionally,\nwe swap sched_migration_cost used in idle_balance for rq->max_idle_balance_cost.\n\nBy using the max, we avoid overrunning the average. This further reduces the chance\nwe attempt balancing when the CPU is not idle for longer than the cost to balance.\n\nI also limited the max cost of each domain to 5*sysctl_sched_migration_cost as\na way to prevent the max from becoming too inflated.\n\nSigned-off-by: Jason Low <jason.low2@hp.com>\n\nbackported for Linux 3.4\n\nSigned-off-by: Paul Reioux <reioux@gmail.com>","ion-storm",true],["d5f636415a70bda79de60479b05979b2395f45ef","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: Periodically decay max cost of idle balance\n\nThis RFC patch builds on patch 2 and periodically decays that max value to\ndo idle balancing per sched domain.\n\nThough we want to decay it fairly consistently, we may not want to lower it by\ntoo much each time, especially since avg_idle is capped based on that value.\nSo I thought that decaying the value every second and lowering it by half a\npercent each time appeared to be fairly reasonable.\n\nThis change would allow us to remove the limit we set on each domain's max cost\nto idle balance. Also, since the max can be reduced now, we now have to\nupdate rq->max_idle balance_cost more frequently. So after every idle balance,\nwe loop through the sched domain to find the max sd's newidle load balance cost\nfor any one domain. Then we will set rq->max_idle_balance_cost to that value.\n\nSince we are now decaying the max cost to do idle balancing, that max cost can\nalso become not high enough. One possible explanation for why is that\nbesides the time spent on each newidle load balance, there are other costs\nassociated with attempting idle balancing. Idle balance also releases and\nreacquires a spin lock. That cost is not counted when we keep track of each\ndomain's cost to do newidle load balance. Also, acquiring the rq locks can\npotentially prevent other CPUs from running something useful. And after\nmigrating tasks, it might potentially have to pay the costs of cache misses and\nrefreshing tasks' cache.\n\nBecause of that, this patch also compares avg_idle with max cost to do idle\nbalancing + sched_migration_cost. While using the max cost helps reduce\noverestimating the average idle, the sched_migration_cost can help account\nfor those additional costs of idle balancing.\n\nSigned-off-by: Jason Low <jason.low2@hp.com>\n[peterz: rewrote the logic, but kept the spirit]\nSigned-off-by: Peter Zijlstra <peterz@infradead.org>\nbackported to Linux 3.4\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["b4e4613817b876e4fec582cc4929a202bbb15b50","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: change load balance number to h_nr_running of run queue\n\nDate    Sun, 18 Aug 2013 16:25:15 +0800\n\nSince rq->nr_running would include both migration and rt task, it is not\nreasonable to seek to move nr_running number of task in the load_balance\nfunction, since it only apply to cfs type.\n\nChange it to cfs's h_nr_running, which could well present the task\nnumber in current cfs queue.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nbackported to Linux 3.4 by faux123\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["1a4f24baad29f2f0a998597fd5b28e5f039821a2","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","kernel/sched/fair.c: fix merge derp\n\n from patch sched: change load balance number to h_nr_running of run queue\n\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["95fd0d068a192980e67c4de84bfc2230727537da","05afeb2b81132ab6685f0098e7d365aeb14e7cae@marvell.com","sched: change cpu_avg_load_per_task using h_nr_running\n\nDate\tSun, 18 Aug 2013 16:25:16 +0800\n\nSince cpu_avg_load_per_task is used only by cfs scheduler, its meaning\nshould present the average cfs type task load in the current run queue.\nThus we change it to h_nr_running for well presenting its meaning.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Lei Wen",true],["56ac69a15146c6d69b3967dc4ed8c35cd4af97d4","05afeb2b81132ab6685f0098e7d365aeb14e7cae@marvell.com","sched: change pick_next_task_fair to h_nr_running\n\nDate\tSun, 18 Aug 2013 16:25:18 +0800\n\nSince pick_next_task_fair only want to ensure there is some task in the\nrun queue to be picked up, it should use the h_nr_running instead of\nnr_running, since nr_running cannot present all tasks if group existed.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Lei Wen",true],["58543647c515c4146c8f05cec82390c1cf92c82d","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: change update_sg_lb_stats to h_nr_running\n\nDate    Sun, 18 Aug 2013 16:25:19 +0800\n\nSince update_sg_lb_stats is used to calculate sched_group load\ndifference of cfs type task, it should use h_nr_running instead of\nnr_running of rq.\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nbacported to Linux 3.4 by faux123\n\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["1d574b42c1f044101c9f393d90829ff506c3a7f0","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: change find_busiest_queue to h_nr_running\n\nDate    Sun, 18 Aug 2013 16:25:20 +0800\n\nSince find_busiest_queue try to avoid do load balance for runqueue\nwhich has only one cfs task and its load is above the imbalance\nvalue calculated, we should use h_nr_running of cfs instead of\nnr_running of rq.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["16c246553547e6e46cc73ccc5b109c7505765249","05afeb2b81132ab6685f0098e7d365aeb14e7cae@marvell.com","sched: change active_load_balance_cpu_stop to use h_nr_running\n\nDate\tSun, 18 Aug 2013 16:25:21 +0800\n\nWe should only avoid do the active load balance when there is no\ncfs type task. If just use rq->nr_running, it is possible for the\nsource cpu has multiple rt task, while zero cfs task, so that it\nwould confuse the active load balance function that try to move,\nbut find no task it could move.\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Lei Wen",true],["453750705c8db81cf092f62c4df46c2af98bfab1","c208d1ecece4e5ef2e4fb72f0546c69cdce89063@gmail.com","sched: document the difference between nr_running and h_nr_running\n\nDate    Sun, 18 Aug 2013 16:25:22 +0800\n\nSigned-off-by: Lei Wen <leiwen@marvell.com>\n\nSigned-off-by: Paul Reioux <reioux@gmail.com>","Paul Reioux",true],["5c4a78e585e2eca165f1d38ff851fea2cdc990c5","2ad7b89f9c0e03e0762ce300ba71ebec2c095f59@gmail.com","sched/rt: Remove redundant nr_cpus_allowed test\n\nDate\tFri, 4 Oct 2013 14:24:53 -0500\n\nFrom: Shawn Bohrer <sbohrer@rgmadvisors.com>\n\nIn 76854c7e8f3f4172fef091e78d88b3b751463ac6 \"sched: Use\nrt.nr_cpus_allowed to recover select_task_rq() cycles\" an optimization\nwas added to select_task_rq_rt() that immediately returns when\np->nr_cpus_allowed == 1 at the beginning of the function.  This makes\nthe latter p->nr_cpus_allowed > 1 check redundant and can be removed.\nSigned-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>\n\nSigned-off-by: Paul Reioux <reioux@gmail.com>","ion-storm",true],["71f22fec49b46aec41c9864838976d954d9e82c8","bf687672b62c2181dfefd4771873b9307f539e64@online.de","sched,rt: disable rt_runtime borrowing by default\n\nMake the default RT_RUNTIME_SHARE setting reflect the most common\nthrottle role, that of safety mechanism to protect the box.\n\nBug 1269903\n\nChange-Id: Id4ccf0095ea254f2e15fddc7ab02069f7f60a7c0\nSigned-off-by: Mike Galbraith <bitbucket@online.de>\nReviewed-on: http://git-master/r/234274\n(cherry picked from commit be74a12c8d8b987f569cdd0eec2aead3dcbdfa31)\nReviewed-on: http://git-master/r/237266\nTested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>\nReviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>\nReviewed-by: Automatic_Commit_Validation_User\nReviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>\nReviewed-by: Paul Walmsley <pwalmsley@nvidia.com>\nGVS: Gerrit_Virtual_Submit","Mike Galbraith",true]],"size":34,"ref":"refs/heads/Unleashed-aosp","head":"d481874a396d4a9dcbb95a782110029978a21ac9"}