{"push_id":1061125016,"size":1,"distinct_size":1,"ref":"refs/heads/mm-mr1","head":"b37e545504611d76113cb8f560d433347952bcc9","before":"2921a20e9ac9d1f3d7799f20e83b6e3ac78f9db2","commits":[{"sha":"b37e545504611d76113cb8f560d433347952bcc9","author":{"email":"9ce5770b3bb4b2a1d59be2d97e34379cd192299f@cyngn.com","name":"Steve Kondik"},"message":"sched: Fix race in idle_balance()\n\nThe scheduler main function 'schedule()' checks if there are no more tasks\non the runqueue. Then it checks if a task should be pulled in the current\nrunqueue in idle_balance() assuming it will go to idle otherwise.\n\nBut idle_balance() releases the rq->lock in order to look up the sched\ndomains and takes the lock again right after. That opens a window where\nanother cpu may put a task in our runqueue, so we won't go to idle but\nwe have filled the idle_stamp, thinking we will.\n\nThis patch closes the window by checking if the runqueue has been modified\nbut without pulling a task after taking the lock again, so we won't go to idle\nright after in the __schedule() function.\n\nChange-Id: I1ba126feae6e488509782c63050952ba4e5fc0b8\nSigned-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>\nCc: alex.shi@linaro.org\nSigned-off-by: Peter Zijlstra <peterz@infradead.org>\nLink: http://lkml.kernel.org/r/1389949444-14821-2-git-send-email-daniel.lezcano@linaro.org\nSigned-off-by: Ingo Molnar <mingo@kernel.org>\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Chairshot215/starship_kernel_moto_shamu/commits/b37e545504611d76113cb8f560d433347952bcc9"}]}