Merge tag 'sched-urgent-2020-07-19' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 19 Jul 2020 18:55:24 +0000 (11:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 19 Jul 2020 18:55:24 +0000 (11:55 -0700)
commit43768f7ce0996590cb9588de71f026f30fb35581
tree9d85b8c8bc3d9934857195016647651cf7a3cb42
parent9413cd7792dc03608ec9b1f1f5c74fc54e714ed3
parent01cfcde9c26d8555f0e6e9aea9d6049f87683998
Merge tag 'sched-urgent-2020-07-19' of git://git./linux/kernel/git/tip/tip into master

Pull scheduler fixes from Thomas Gleixner:
 "A set of scheduler fixes:

   - Plug a load average accounting race which was introduced with a
     recent optimization casing load average to show bogus numbers.

   - Fix the rseq CPU id initialization for new tasks. sched_fork() does
     not update the rseq CPU id so the id is the stale id of the parent
     task, which can cause user space data corruption.

   - Handle a 0 return value of task_h_load() correctly in the load
     balancer, which does not decrease imbalance and therefore pulls
     until the maximum number of loops is reached, which might be all
     tasks just created by a fork bomb"

* tag 'sched-urgent-2020-07-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/fair: handle case of task_h_load() returning 0
  sched: Fix unreliable rseq cpu_id for new tasks
  sched: Fix loadavg accounting race