[SRU][Xenial][PATCH 0/2] Fixes for LP #1687512

Daniel Axtens daniel.axtens at canonical.com
Thu May 4 00:02:42 UTC 2017

BugLink: https://bugs.launchpad.net/bugs/1687512

Apache Mesos and Kubernetes workloads on Xenial cause a panic
(NULL pointer dereference) in the completely fair scheduler.

These panics are in pick_next_entity and include pick_next_task_fair
in the call stack.

Cherry-picking both
fix the crash.
They appear to be intended as a series - they were posted to LKML at
the same time.

The fix has been validated by the user who reported the bug

These commits went upstream in 4.7-rc5, so they are already in

Konstantin Khlebnikov (2):
  sched/fair: Do not announce throttled next buddy in
  sched/fair: Initialize throttle_count for new task-groups lazily

 kernel/sched/fair.c  | 29 ++++++++++++++++++++++++-----
 kernel/sched/sched.h |  2 +-
 2 files changed, 25 insertions(+), 6 deletions(-)


More information about the kernel-team mailing list